From: Santi Béjar Date: Mon, 26 Mar 2007 14:59:57 GMT Subject: Removing a newly added file Message-ID: <8aa486160703260759v438d445ev82161600d8e8bf02@mail.gmail.com> Hi *, when you try removing a newly added file it success and removes the file from the working directory. So if you do: $ echo "newly added file" > new $ git add new $ git rm new the file "new" is lost, it is not in the index, neither in HEAD. At this moment the only way to recover the file new is searching for unreachable objects. (Am I missing something?) I think that the "git rm new" should remove "new" from the index or should fail, maybe with: $ git rm new error: 'new' is not in HEAD (hint: try --cached) Santi