Enter a command. For example: rdfind, glab mr create, lzop.

git gc

Optimise the local repository by cleaning unnecessary files. More information:
  • 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
  • View full usage:
    git gc --help

This is a tldr pages (source, CC BY 4.0) web wrapper for All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.