From: Johannes Schindelin Date: Tue, 09 Aug 2005 22:10:02 GMT Subject: Re: Newbie question: equiv of: cvs co -p ? Message-ID: In-Reply-To: Hi, On Tue, 9 Aug 2005, John Ellson wrote: > How can we cat the latest committed state of a file to stdout? > > I hacked this: > > #!/bin/bash > ID=`git-ls-files -s | grep $1 | cut -d ' ' -f 2` and now: git-cat-file blob $ID Voila, Dscho