![]() ![]() ![]() The second one names the committer: the person who is adding this commit to this Git repository. ![]() One of these gives the author of the commit: the person who wrote it originally. The second-from-last commit stores the hash ID of the third-from-last commit, which stores the hash ID of the fourth-from-last commit, and so on down the line. If we can just tell Git the hash ID of the last commit in the chain, Git can use the stored parent ID of that commit to find the second-from-last commit. So these hash IDs form a backwards-looking chain. In the normal case of a single element, that one hash ID is the hash ID of this particular commit's parent commit: the commit that comes just before this commit. Meanwhile, each commit has both a snapshot and metadata, and in the metadata for any one commit, we find a list-usually just one element long-of other Git commit hash IDs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |