X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-gc.txt;h=b292e9843aa9da86cd44bd07d3ce35053be32177;hb=1d4e4cd4a108dc105f6c8e739c69b9261d4e92a5;hp=7086eea74a38b036130f61db362bae209a065e47;hpb=44701c67fd1d5d771b440c8646b7b268d4f1402d;p=git.git diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index 7086eea74..b292e9843 100644 --- a/Documentation/git-gc.txt +++ b/Documentation/git-gc.txt @@ -8,7 +8,7 @@ git-gc - Cleanup unnecessary files and optimize the local repository SYNOPSIS -------- -'git gc' [--aggressive] [--auto] [--quiet] +'git gc' [--aggressive] [--auto] [--quiet] [--prune= | --no-prune] DESCRIPTION ----------- @@ -59,6 +59,14 @@ are consolidated into a single pack by using the `-A` option of 'git-repack'. Setting `gc.autopacklimit` to 0 disables automatic consolidation of packs. +--prune=:: + Prune loose objects older than date (default is 2 weeks ago, + overrideable by the config variable `gc.pruneExpire`). This + option is on by default. + +--no-prune:: + Do not prune any loose objects. + --quiet:: Suppress all progress reports.