Skip to main content
Code and think

GIT Garbage cleaner

When you encounter an error with the git repository you can often resolve it with the garbage clean command. To prune all loose objects you can use:

git gc --prune=now

Reference