summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-29 14:20:19 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-29 14:20:19 -0800
commitb5be052f1ae8d6d1505d21488ee51b843fbadb25 (patch)
tree64346d994e49f70835d8eed00af5633c6d1938f2 /git-clone.html
parent12bf4714f640e04427236d38d4760ec79d925334 (diff)
downloadgit-htmldocs-b5be052f1ae8d6d1505d21488ee51b843fbadb25.tar.gz
Autogenerated HTML docs for v1.7.9-48-g85da4d
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 66e51d6b5..02feb8800 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -587,7 +587,8 @@ git-clone(1) Manual Page
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o &lt;name&gt;] [-b &lt;name&gt;] [-u &lt;upload-pack&gt;] [--reference &lt;repository&gt;]
[--separate-git-dir &lt;git dir&gt;]
- [--depth &lt;depth&gt;] [--recursive|--recurse-submodules] [--] &lt;repository&gt;
+ [--depth &lt;depth&gt;] [--[no-]single-branch]
+ [--recursive|--recurse-submodules] [--] &lt;repository&gt;
[&lt;directory&gt;]</div>
<div class="verseblock-attribution">
</div></div>
@@ -847,6 +848,19 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
+--single-branch
+</dt>
+<dd>
+<p>
+ Clone only the history leading to the tip of a single branch,
+ either specified by the <tt>--branch</tt> option or the primary
+ branch remote&#8217;s <tt>HEAD</tt> points at. When creating a shallow
+ clone with the <tt>--depth</tt> option, this is the default, unless
+ <tt>--no-single-branch</tt> is given to fetch the histories near the
+ tips of all branches.
+</p>
+</dd>
+<dt class="hdlist1">
--recursive
</dt>
<dt class="hdlist1">
@@ -1090,7 +1104,7 @@ Create a repository on the kernel.org machine that borrows from Linus:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-11-15 13:45:02 PDT
+Last updated 2012-01-29 14:19:30 PDT
</div>
</div>
</body>