Re: Determine Blob ID from Commit ID and File Path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Sigurdson, Dirk" <Dirk.Sigurdson@xxxxxxxxxxxx> 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"?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]