Hacker News new | ask | show | jobs
by syntheticlife 4443 days ago
FWIW: Every time you modify a file in git, it adds a completely new copy of the file. 100mb text file, 100mb binary file - makes no difference. Modify one line, it's a new 100mb entry in your git repo.
1 comments

No, git has delta compression. It only saves the changes.
Only when git repack operations run.
which you can run at any time. Git also runs a minor gc every time you do a git push, which does do some compression.