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

how to track a file which index has been removed?

From
DSDavid Shen <davidshen84@googlemail.com>
Date
Mar 5, 2009, 08:37 UTC
Message-ID
<53e35fd50903050037r5a96f9bfo5db49549f7b082c4@mail.gmail.com>
Hi,

I removed the index of a file using git update-index --remove by mistake. I tried to use git update-index --add to add it back. But the change to the file still not tracked. how to fix this?

-- 
Best Regards,
David Shen
Message 1 of 1 in “how to track a file which index has been removed?”
  1. David ShenMar 5, 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.