summaryrefslogtreecommitdiffstats
path: root/everyday.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-12-21 17:57:33 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-12-21 17:57:33 +0000
commite27cbd23f20512f381606e2b437bfe80c681aa93 (patch)
treecc3f6f7d0a2e7239d148d84cec1b2d65b9b0cd9b /everyday.html
parentd83dd0fe25183591c3073b74593167ce7a1ec451 (diff)
downloadgit-htmldocs-e27cbd23f20512f381606e2b437bfe80c681aa93.tar.gz
Autogenerated HTML docs for v1.5.4-rc1-11-gd2f82
Diffstat (limited to 'everyday.html')
-rw-r--r--everyday.html31
1 files changed, 7 insertions, 24 deletions
diff --git a/everyday.html b/everyday.html
index 6925ff047..3b922a7dd 100644
--- a/everyday.html
+++ b/everyday.html
@@ -295,16 +295,6 @@ of git repositories.</p>
</li>
<li>
<p>
-<a href="git-prune.html">git-prune(1)</a> to remove unused objects in the repository.
-</p>
-</li>
-<li>
-<p>
-<a href="git-repack.html">git-repack(1)</a> to pack loose objects for efficiency.
-</p>
-</li>
-<li>
-<p>
<a href="git-gc.html">git-gc(1)</a> to do common housekeeping tasks such as
repack and prune.
</p>
@@ -320,8 +310,7 @@ Check health and remove cruft.
<div class="content">
<pre><tt>$ git fsck <b>(1)</b>
$ git count-objects <b>(2)</b>
-$ git repack <b>(3)</b>
-$ git gc <b>(4)</b></tt></pre>
+$ git gc <b>(3)</b></tt></pre>
</div></div>
<ol>
<li>
@@ -338,14 +327,8 @@ disk space is wasted by not repacking.
</li>
<li>
<p>
-without <tt>-a</tt> repacks incrementally. repacking every 4-5MB
-of loose objects accumulation may be a good rule of thumb.
-</p>
-</li>
-<li>
-<p>
-it is easier to use <tt>git gc</tt> than individual housekeeping commands
-such as <tt>prune</tt> and <tt>repack</tt>. This runs <tt>repack -a -d</tt>.
+repacks the local repository and performs other housekeeping tasks. Running
+without <tt>&#8212;prune</tt> is a safe operation even while other ones are in progress.
</p>
</li>
</ol>
@@ -356,8 +339,8 @@ Repack a small project into single pack.
<dd>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git repack -a -d <b>(1)</b>
-$ git prune</tt></pre>
+<pre><tt>$ git gc <b>(1)</b>
+$ git gc --prune</tt></pre>
</div></div>
<ol>
<li>
@@ -598,7 +581,7 @@ $ git pull <b>(3)</b>
$ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 <b>(4)</b>
$ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL <b>(5)</b>
$ git reset --hard ORIG_HEAD <b>(6)</b>
-$ git prune <b>(7)</b>
+$ git gc --prune <b>(7)</b>
$ git fetch --tags <b>(8)</b></tt></pre>
</div></div>
<ol>
@@ -1069,7 +1052,7 @@ upload to public HTTP server hosted by your ISP.
</div>
<div id="footer">
<div id="footer-text">
-Last updated 14-Nov-2007 12:12:04 UTC
+Last updated 21-Dec-2007 17:57:00 UTC
</div>
</div>
</body>