5 ms·
Wow! Running git gc just shrunk my .git folder from 18MB to only 3MB.
by ufo 6y ago
Wow! Running git gc just shrunk my .git folder from 18MB to only 3MB.
- sitzkrieg 6y agodid it have binary data? if so try moving to lfs and running bfg cleaner and watch it shrink even more
- glandium 6y agogit gc runs automatically when some threshold is met in the number of "loose" objects (objects that were created by e.g. git add and that haven't been packed yet). I don't remember what the threshold is, though.