X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-gc.txt;h=315f07ef1c6997c98c4e446af507c3e1e4566218;hb=75b17fee72a0f78e0ad31728771231f8b3ed4d56;hp=cbe74d531af500c0e47e158830474907556a15db;hpb=56bfacef7966553530532d58c07787754add2465;p=git.git diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index cbe74d531..315f07ef1 100644 --- a/Documentation/git-gc.txt +++ b/Documentation/git-gc.txt @@ -88,6 +88,16 @@ commits prior to the amend or rebase occurring. Since these changes are not part of the current project most users will want to expire them sooner. This option defaults to '30 days'. +The above two configuration variables can be given to a pattern. For +example, this sets non-default expiry values only to remote tracking +branches: + +------------ +[gc "refs/remotes/*"] + reflogExpire = never + reflogexpireUnreachable = 3 days +------------ + The optional configuration variable 'gc.rerereresolved' indicates how long records of conflicted merge you resolved earlier are kept. This defaults to 60 days.