summaryrefslogtreecommitdiffstats
path: root/git-prune.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-22 09:00:13 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-22 09:00:13 +0000
commitf65d928c94b427bee69f26be28d2fde9bb5422ab (patch)
treec2b7a0fc635db7a98438a90be5efa040cd45d114 /git-prune.html
parentdb450ba3ae2b636d553d185caf436c76c0853bff (diff)
downloadgit-htmldocs-f65d928c94b427bee69f26be28d2fde9bb5422ab.tar.gz
Autogenerated HTML docs for v1.5.0-rc2-g18af
Diffstat (limited to 'git-prune.html')
-rw-r--r--git-prune.html30
1 files changed, 24 insertions, 6 deletions
diff --git a/git-prune.html b/git-prune.html
index a479f1880..bc8913320 100644
--- a/git-prune.html
+++ b/git-prune.html
@@ -272,7 +272,7 @@ git-prune(1) Manual Page
</div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git-prune</em> [-n] [--grace=&lt;time&gt;]</p>
+<p><em>git-prune</em> [-n] [--] [&lt;head&gt;&#8230;]</p>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -297,17 +297,35 @@ running <tt>git prune-packed</tt>.</p>
</p>
</dd>
<dt>
---grace=&lt;time&gt;
+--
</dt>
<dd>
<p>
- Do not prune loose objects that are younger than the
- specified time. This gives a grace period to newly
- created objects from getting pruned.
+ Do not interpret any more arguments as options.
+</p>
+</dd>
+<dt>
+&lt;head&gt;&#8230;
+</dt>
+<dd>
+<p>
+ In addition to objects
+ reachable from any of our references, keep objects
+ reachable from listed &lt;head&gt;s.
</p>
</dd>
</dl>
</div>
+<h2>EXAMPLE</h2>
+<div class="sectionbody">
+<p>To prune objects not used by your repository nor another that
+borrows from your repository via its
+<tt>.git/objects/info/alternates</tt>:</p>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git prune $(cd ../another &amp;&amp; $(git-rev-parse --all))</tt></pre>
+</div></div>
+</div>
<h2>Author</h2>
<div class="sectionbody">
<p>Written by Linus Torvalds &lt;torvalds@osdl.org&gt;</p>
@@ -322,7 +340,7 @@ running <tt>git prune-packed</tt>.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 21-Jan-2007 08:57:03 UTC
+Last updated 22-Jan-2007 08:59:53 UTC
</div>
</div>
</body>