index 189573a3b3d459822b465d39db2f90001ffc98d3..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.
all of those locations and decide whether it makes sense in your case to
remove those references.
all of those locations and decide whether it makes sense in your case to
remove those references.
+HOOKS
+-----
+
+The 'git gc --auto' command will run the 'pre-auto-gc' hook. See
+linkgit:githooks[5] for more information.
+
+
SEE ALSO
--------
linkgit:git-prune[1]
SEE ALSO
--------
linkgit:git-prune[1]