Hacker News new | ask | show | jobs
by mmis1000 922 days ago
The fact that a git commit is literally a code snapshot...

Hey, git don't even store diffs at first place. All it store is the snapshot of all directory content. The diff git showed to you is actually generated on the fly. You can even just clone a single commit and get the content out of it if you are doing ci and don't need the complete history.