4 ms·
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,
by syntheticlife 12y 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.
- JelteF 12y agoNo, git has delta compression. It only saves the changes.
- syntheticlife 12y agoOnly when git repack operations run.
- Skinney 12y agowhich you can run at any time. Git also runs a minor gc every time you do a git push, which does do some compression.