Re: How do get a specific version of a particular file?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 27, 2007, 19:33 UTC
- Message-ID
- <Pine.LNX.4.64.0702271132130.12485@woody.linux-foundation.org>
- In-Reply-To
- <20070227190912.GA30080@thunk.org>
On Tue, 27 Feb 2007, Theodore Tso wrote:
> > Yeah, the problem was that in the git man pages I had read, and the > git tutorials that I had read, I had never learned about the > <tree>:<path> syntax of object identifiers.
It's there in git-rev-parse.txt (which explains all the SHA1 object "math"), but yeah, it's not exactly obvious, and all the examples tend to use just the "commit relationship" math, not the commit->tree->path rules.
Linus