Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Undo git-rm without commit?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:44:25

Joe Fiorini [off-list ref] 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 :-\.
quoted
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help