Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
syntheticlife
· 12y ago · 0 comments
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.
Comments
[–]
JelteF
12y ago
No, git has delta compression. It only saves the changes.
[–]
syntheticlife
OP
12y ago
Only when git repack operations run.
[–]
Skinney
12y 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.