CmdID / Commands
Optimize the local repository by cleaning unnecessary files. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Optimize the repository
git gc
Aggressively optimize, 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