mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
383 B
383 B
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
- View full usage:
git gc --help