Hacker News new | ask | show | jobs
by NTARelix 1897 days ago
After going through the "Git Internals"[0] docs, I found that the snapshot mental model has been much more helpful in understanding what my Git commands are doing, how someone's history got into a confusing state, etc. The primary model is that of the Merkle tree, and subsequently hashing, which are very simple and powerful concepts.

[0]: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Po...