summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-02 00:04:15 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-02 00:04:15 +0000
commitb288d9efccdc870a87fa612f162eff891f26a71f (patch)
tree36ef915fff1dd53ad5b9677b1aacd6477cd3f8d6 /git-clone.html
parentd3361ad1971d98f2e17e3bb09b77eee7b93700f0 (diff)
downloadgit-htmldocs-b288d9efccdc870a87fa612f162eff891f26a71f.tar.gz
Autogenerated HTML docs for v1.5.0-rc0-gf4bf2
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/git-clone.html b/git-clone.html
index f8bb4345b..7be0c15d5 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -275,7 +275,7 @@ git-clone(1) Manual Page
<div class="verseblock">
<div class="content"><em>git-clone</em> [--template=&lt;template_directory&gt;] [-l [-s]] [-q] [-n] [--bare]
[-o &lt;name&gt;] [-u &lt;upload-pack&gt;] [--reference &lt;repository&gt;]
- &lt;repository&gt; [&lt;directory&gt;]</div></div>
+ [--depth=&lt;depth&gt;] &lt;repository&gt; [&lt;directory&gt;]</div></div>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -413,6 +413,20 @@ configuration variables.</p>
</p>
</dd>
<dt>
+--depth=&lt;depth&gt;
+</dt>
+<dd>
+<p>
+ Create a <em>shallow</em> clone with a history truncated to the
+ specified number of revs. A shallow repository has
+ number of limitations (you cannot clone or fetch from
+ it, nor push from nor into it), but is adequate if you
+ want to only look at near the tip of a large project
+ with a long history, and would want to send in a fixes
+ as patches.
+</p>
+</dd>
+<dt>
&lt;repository&gt;
</dt>
<dd>
@@ -507,7 +521,7 @@ Create a repository on the kernel.org machine that borrows from Linus
</div>
<div id="footer">
<div id="footer-text">
-Last updated 01-Jan-2007 03:20:13 UTC
+Last updated 02-Jan-2007 00:04:07 UTC
</div>
</div>
</body>