# how to track a file which index has been removed?

1 messages from 2009-03-05 to 2009-03-05. Participants: David Shen.
Thread: https://gitlist.dev/t/18143

## David Shen, 2009-03-05 08:37

Subject: how to track a file which index has been removed?
Message-ID: <53e35fd50903050037r5a96f9bfo5db49549f7b082c4@mail.gmail.com>
URL: https://gitlist.dev/e/53e35fd50903050037r5a96f9bfo5db49549f7b082c4%40mail.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

```
