git gc

Posted by david on 10 September 2012 at 11:11 pm

Have a Git repo that is getting rather large, from multiple deleted branches and merges? Use "git gc".

git gc is the garbage collection command and frees up space by removing unneeded clutter in the repo. It reduced my local Clay repo from 19mb to 12mb.


Log in to comment

No comments yet!