diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-29 14:20:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-29 14:20:19 -0800 |
commit | b5be052f1ae8d6d1505d21488ee51b843fbadb25 (patch) | |
tree | 64346d994e49f70835d8eed00af5633c6d1938f2 /git-clone.html | |
parent | 12bf4714f640e04427236d38d4760ec79d925334 (diff) | |
download | git-htmldocs-b5be052f1ae8d6d1505d21488ee51b843fbadb25.tar.gz |
Autogenerated HTML docs for v1.7.9-48-g85da4d
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 18 |
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 <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--separate-git-dir <git dir>]
- [--depth <depth>] [--recursive|--recurse-submodules] [--] <repository>
+ [--depth <depth>] [--[no-]single-branch]
+ [--recursive|--recurse-submodules] [--] <repository>
[<directory>]</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’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>
|