git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Any way to edit the file in index directly?

From
Ping Yin <pkufranky@gmail.com>
Date
Apr 8, 2009, 01:03 UTC
Message-ID
<46dff0320904071803k68fddff4j226760392e0c5bcc@mail.gmail.com>
There seems to be a patch for this ( add -e?), but i forget where to find it.

For a big change, instead of "add -p", it may be easier to edit the index directly ( with the corresponding worktree file alongside)

Ping Yin
Next: Jeff King
Message 1 of 7 in “Any way to edit the file in index directly?”
  1. Ping YinApr 8, 2009
  2. Jeff KingApr 8, 2009
  3. Jeff KingApr 8, 2009
  4. Ping YinApr 8, 2009
  5. Markus HeidelbergApr 8, 2009
  6. Johannes SchindelinApr 8, 2009
  7. Ping YinApr 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.