Next | 20 |
A commit records the state of the entire repository at a particular moment
It contains:
The hash of the tree object for the top level directory
Parent commit hash
Metainformation:
Subject and log message
Who did it
When it was made
Parent: 47fc1d6e04cfeab7156e23f7567bc8bef5b88856 Tree: 729ac80e4f6d041367d370669e7815e2406052d2 Date: Tue Oct 5 10:27:44 2010 -0400 Author: Mark Dominus <mjd@plover.com> Subject: Added hungry_penguins method to penguin manager module Also added 'hunger' attribute on penguins, accessors, and tests. Still needs tests in conjunction with ->feed_penguin method.
Git writes this stuff into a file, hashes it, and stores it
Commits are tamper-proof
Next | Copyright © 2010 M. J. Dominus |