git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to undo git-rm?
@ 2008-03-18 23:04 Neil Schemenauer
  2008-03-20  0:24 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Neil Schemenauer @ 2008-03-18 23:04 UTC (permalink / raw)
  To: git

Hi,

This seemingly simple operation has me stumped.  I removed something
from my try using "git rm" and now I want it back.  With SVN I would
use "svn cat <path> > <path>".  After some searching around, I
though git-cat-file would do the trick.  Alas, it appears as though
it looks up the SHA for the path in the index and so it too fails.

  Neil

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-20  2:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 23:04 How to undo git-rm? Neil Schemenauer
2008-03-20  0:24 ` Junio C Hamano
2008-03-20  0:49 ` Jakub Narebski
2008-03-20  2:53 ` Elijah Newren
2008-03-20  2:54   ` Elijah Newren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).