Re: Undo git-rm without commit?
Joe Fiorini <joe@faithfulgeek.org> writes:
> Yeah, it warned me, I wasn't being careful enough. I guess I didn't
> think it would remove from the working tree, just the repository. My
> err for not reading the docs until _after_ the mistake.
Reading the error message would have done it also :-\.
>> error: 'file' has changes staged in the index
>> (use --cached to keep the file, or -f to force removal)
^^^^^^^^^^^^^^^^^^^^^^^^^
Good luck with lost+found, still !
--
Matthieu