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 13y 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 13y agoNo, git has delta compression. It only saves the changes.
- syntheticlife 13y agoOnly when git repack operations run.
- Skinney 13y 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.