Re: Determine Blob ID from Commit ID and File Path
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 25, 2009, 19:07 UTC
- Message-ID
- <7vhby49loe.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <C66917DD.29BF%dirk.sigurdson@t-mobile.com>
"Sigurdson, Dirk" <Dirk.Sigurdson@T-Mobile.com> writes:
> Given a commit id and the path to a file, I¹d like to be able to determine > the blob id for the file. Is there a git command that would provide this > info?
"git rev-parse $commit:$path"?