Re: Showing the version of a file that's in the Index.
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Apr 7, 2009, 20:10 UTC
- Message-ID
- <200904072210.05591.markus.heidelberg@web.de>
- In-Reply-To
- <c115fd3c0904071259y53b4b264u9c9957b68e36cc44@mail.gmail.com>
Tim Visher, 07.04.2009:
> How do you go about showing the version of the file that's in an > index.
With version do you mean content? Then
git cat-file -p :0:file
or
git cat-file -p :fileSee git-rev-parse(1) "Specifying revisions", the last item.
Markus