summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-06 15:27:09 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-06 15:27:09 -0700
commitccdabcae204ead708ad13194edd370770437ee5b (patch)
tree3dcc122844c6b95c9469fd3b169a5966ad25b684 /git-clone.html
parent6c980140719aead9ebe164008949c20bee3b38a0 (diff)
downloadgit-htmldocs-ccdabcae204ead708ad13194edd370770437ee5b.tar.gz
Autogenerated HTML docs for v2.8.2-372-g63a350
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html18
1 files changed, 14 insertions, 4 deletions
diff --git a/git-clone.html b/git-clone.html
index bce9b325b..0906f2d32 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -753,8 +753,8 @@ git-clone(1) Manual Page
[-o &lt;name&gt;] [-b &lt;name&gt;] [-u &lt;upload-pack&gt;] [--reference &lt;repository&gt;]
[--dissociate] [--separate-git-dir &lt;git dir&gt;]
[--depth &lt;depth&gt;] [--[no-]single-branch]
- [--recursive | --recurse-submodules] [--jobs &lt;n&gt;] [--] &lt;repository&gt;
- [&lt;directory&gt;]</pre>
+ [--recursive | --recurse-submodules] [--[no-]shallow-submodules]
+ [--jobs &lt;n&gt;] [--] &lt;repository&gt; [&lt;directory&gt;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -1030,7 +1030,9 @@ objects from the source repository into a pack in the cloned repository.</p></di
Create a <em>shallow</em> clone with a history truncated to the
specified number of commits. Implies <code>--single-branch</code> unless
<code>--no-single-branch</code> is given to fetch the histories near the
- tips of all branches.
+ tips of all branches. This implies <code>--shallow-submodules</code>. If
+ you want to have a shallow superproject clone, but full submodules,
+ also pass <code>--no-shallow-submodules</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -1065,6 +1067,14 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
+--[no-]shallow-submodules
+</dt>
+<dd>
+<p>
+ All submodules which are cloned will be shallow with a depth of 1.
+</p>
+</dd>
+<dt class="hdlist1">
--separate-git-dir=&lt;git dir&gt;
</dt>
<dd>
@@ -1305,7 +1315,7 @@ Create a bare repository to publish your changes to the public:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-04-06 15:57:48 PDT
+Last updated 2016-05-06 15:26:51 PDT
</div>
</div>
</body>