index cbe74d531af500c0e47e158830474907556a15db..315f07ef1c6997c98c4e446af507c3e1e4566218 100644 (file)
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
are not part of the current project most users will want to expire
them sooner. This option defaults to '30 days'.
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.
The optional configuration variable 'gc.rerereresolved' indicates
how long records of conflicted merge you resolved earlier are
kept. This defaults to 60 days.