6 ms·
This is pretty cool. Worth noting that Git does not actually only store full copies of files every time you make a change, this article I found does a really go
by archmaster 2y ago
This is pretty cool. Worth noting that Git does not actually only store full copies of files every time you make a change, this article I found does a really good job at explaining Git's packing: https://gist.github.com/matthewmccullough/2695758 https://gist.github.com/matthewmccullough/2695758
- GrantMoyer 2y agoAlso see https://git-scm.com/docs/pack-heuristics https://git-scm.com/docs/pack-heuristics
- glandium 2y agoIt actually does. Until you run git gc or it runs automatically, and your blobs are packed.
- masklinn 2y ago“Objects” rather than “blobs”, in git “blobs” means specifically file contents (/ unstructured as technically you can use blobs for arbitrary storage) but all objects can be delta’d during packing.