Re: Newbie question: equiv of: cvs co -p <filename> ?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 9, 2005, 22:10 UTC
- Message-ID
- <Pine.LNX.4.63.0508100009210.10311@wgmdd8.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <ddb8vl$ifq$1@sea.gmane.org>
Hi,
On Tue, 9 Aug 2005, John Ellson wrote:
Show 6 quoted lines
> 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