Y
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
JelteF
4443 days ago
No, git has delta compression. It only saves the changes.
link
syntheticlife
4443 days ago
Only when git repack operations run.
link
Skinney
4443 days ago
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.
link