Git Repository - Optimize Repository with Git GC | Online Free DevTools by Hexmos

Optimize your Git repository with Git GC. Clean unnecessary files and improve repository performance. Free online tool, no registration required.

git gc

Optimise the local repository by cleaning unnecessary files. More information: https://git-scm.com/docs/git-gc.

  • Optimise the repository:

git gc

  • Aggressively optimise, takes more time:

git gc --aggressive

  • Do not prune loose objects (prunes by default):

git gc --no-prune

  • Suppress all output:

git gc --quiet

  • Display help:

git gc --help