git gc --aggressive

Category: Git - Advanced

git gc --aggressive

Run aggressive garbage collection for maximum optimization

Runs a more thorough garbage collection — takes longer but produces better compression.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.