Re:Git Reset Demystified
by yason on Thursday July 14, 2011 @04:56PM
(#2765062)
Git is like that "one data structure with a hundred functions operating on it, instead of ten functions operating on ten data structures".
[ Parent
| on HN ]
And that "one data structure" is a directed acyclic graph of objects, where an object is one of four kinds:
- blob (like a file)
- tree (referencing trees and/or blobs, like a directory)
- commit (referencing one tree and other commits)
- tag (referencing a commit)