Re: how the commit ID come from in GIT?
- From
- Konstantin Khomoutov <kostix+git@007spb.ru>
- Date
- Nov 5, 2012, 23:04 UTC
- Message-ID
- <20121105230430.GK5210@localhost.localdomain>
- In-Reply-To
- <1352145846.26267.YahooMailClassic@web141404.mail.bf1.yahoo.com>
On Mon, Nov 05, 2012 at 12:04:06PM -0800, hong zhang wrote:
> Could anyone explain how the git commit ID will include all the files > that devloper makes changes on? > > How git commit ID works?
To expand on the answer provided by Magnus, I would also suggest reading the classic "Git from the bottom up" document [1], and if you want a totally informal and fun introduction to how these cryptographic hashes come about and why they are useful, I suggest reading "The Git Parable" [2].
1. http://newartisans.com/2008/04/git-from-the-bottom-up/ 2. http://tom.preston-werner.com/2009/05/19/the-git-parable.html