From 0a060dffbc343a5855873e0150ef0a3235105ed1 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 28 Dec 2006 00:59:47 +0000 Subject: [PATCH] Autogenerated man pages for v1.5.0-rc0-g7c20b --- man1/git-gc.1 | 32 ++++++++++++++++++++++++++++++++ man7/git.7 | 5 ++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 man1/git-gc.1 diff --git a/man1/git-gc.1 b/man1/git-gc.1 new file mode 100644 index 000000000..13fff2271 --- /dev/null +++ b/man1/git-gc.1 @@ -0,0 +1,32 @@ +.\" ** You probably do not want to edit this file directly ** +.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). +.\" Instead of manually editing it, you probably should edit the DocBook XML +.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. +.TH "GIT\-GC" "1" "12/28/2006" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +git\-gc \- Cleanup unnecessary files and optimize the local repository +.SH "SYNOPSIS" +\fIgit\-gc\fR +.SH "DESCRIPTION" +Runs a number of housekeeping tasks within the current repository, such as compressing file revisions (to reduce disk space and increase performance) and removing unreachable objects which may have been created from prior invocations of \fBgit\-add\fR(1). + +Users are encouraged to run this task on a regular basis within each repository to maintain good disk space utilization and good operating performance. +.SH "CONFIGURATION" +The optional configuration variable \fIgc.reflogExpire\fR can be set to indicate how long historical entries within each branch's reflog should remain available in this repository. The setting is expressed as a length of time, for example \fI90 days\fR or \fI3 months\fR. It defaults to \fI90 days\fR. + +The optional configuration variable \fIgc.reflogExpireUnreachable\fR can be set to indicate how long historical reflog entries which are not part of the current branch should remain available in this repository. These types of entries are generally created as a result of using git commit \-\-amend or git rebase and are the commits prior to the amend or rebase occuring. Since these changes are not part of the current project most users will want to expire them sooner. This option defaults to \fI30 days\fR. + +The optional configuration variable \fIgc.rerereresolved\fR indicates how long records of conflicted merge you resolved earlier are kept. This defaults to 60 days. + +The optional configuration variable \fIgc.rerereunresolved\fR indicates how long records of conflicted merge you have not resolved are kept. This defaults to 15 days. +.SH "SEE ALSO" +\fBgit\-prune\fR(1) \fBgit\-reflog\fR(1) \fBgit\-repack\fR(1) \fBgit\-rerere\fR(1) +.SH "AUTHOR" +Written by Shawn O. Pearce +.SH "GIT" +Part of the \fBgit\fR(7) suite + diff --git a/man7/git.7 b/man7/git.7 index 21686a0ae..35863ef43 100644 --- a/man7/git.7 +++ b/man7/git.7 @@ -2,7 +2,7 @@ .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "GIT" "7" "12/27/2006" "" "" +.TH "GIT" "7" "12/28/2006" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -180,6 +180,9 @@ Export a single commit to a CVS checkout. \fBgit\-cvsserver\fR(1) A CVS server emulator for git. .TP +\fBgit\-gc\fR(1) +Cleanup unnecessary files and optimize the local repository. +.TP \fBgit\-lost\-found\fR(1) Recover lost refs that luckily have not yet been pruned. .TP -- 2.26.2