News for hackers. Stuff that matters.
Re:Commits are snapshots not diffs (2020) by siawyoung on Thursday April 08, 2021 @03:52PM (#26742981)
Commits are conceptually snapshots, and everything else Git does is just an optimization over the naive “keep all versions of all files ever” (imagine implementing a version of Git that is just zipping the entire folder). Diffs are isomorphic to commits and are generated as needed.

I wrote about it (albeit imprecisely) here: https://siawyoung.com/git-intuition

There are no comments on this comment yet.