diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-01-22 09:00:13 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-01-22 09:00:13 +0000 |
commit | f65d928c94b427bee69f26be28d2fde9bb5422ab (patch) | |
tree | c2b7a0fc635db7a98438a90be5efa040cd45d114 /git-gc.html | |
parent | db450ba3ae2b636d553d185caf436c76c0853bff (diff) | |
download | git-htmldocs-f65d928c94b427bee69f26be28d2fde9bb5422ab.tar.gz |
Autogenerated HTML docs for v1.5.0-rc2-g18af
Diffstat (limited to 'git-gc.html')
-rw-r--r-- | git-gc.html | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/git-gc.html b/git-gc.html index 28112861a..3391f6627 100644 --- a/git-gc.html +++ b/git-gc.html @@ -272,7 +272,7 @@ git-gc(1) Manual Page </div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git-gc</em></p>
+<p><em>git-gc</em> [--prune]</p>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -284,6 +284,27 @@ created from prior invocations of <a href="git-add.html">git-add(1)</a>.</p> each repository to maintain good disk space utilization and good
operating performance.</p>
</div>
+<h2>OPTIONS</h2>
+<div class="sectionbody">
+<dl>
+<dt>
+--prune
+</dt>
+<dd>
+<p>
+ Usually <tt>git-gc</tt> packs refs, expires old reflog entries,
+ packs loose objects,
+ and removes old <em>rerere</em> records. Removal
+ of unreferenced loose objects is an unsafe operation
+ while other git operations are in progress, so it is not
+ done by default. Pass this option if you want it, and only
+ when you know nobody else is creating new objects in the
+ repository at the same time (e.g. never use this option
+ in a cron script).
+</p>
+</dd>
+</dl>
+</div>
<h2>Configuration</h2>
<div class="sectionbody">
<p>The optional configuration variable <em>gc.reflogExpire</em> can be
@@ -323,7 +344,7 @@ kept. This defaults to 15 days.</p> </div>
<div id="footer">
<div id="footer-text">
-Last updated 17-Jan-2007 17:42:14 UTC
+Last updated 22-Jan-2007 08:59:52 UTC
</div>
</div>
</body>
|