From: Elijah Newren Date: Thu, 20 Mar 2008 02:53:34 GMT Subject: Re: How to undo git-rm? Message-ID: <51419b2c0803191953y7842ddf8l7a6de37226cb12e2@mail.gmail.com> In-Reply-To: <20080318230441.GA664@arctrix.com> On Tue, Mar 18, 2008 at 5:04 PM, Neil Schemenauer wrote: > 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 > ". 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. Try git checkout HEAD eg or git show HEAD: >