summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-19 13:57:54 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-19 13:57:54 -0800
commit047135e65db3686c7b168ba029e8545071e5226f (patch)
tree8cb85350a565679c88d6d642189594081b64a38b /git-clone.html
parent005a1130228687694cfc3f028b25b6eea05dbbb2 (diff)
downloadgit-htmldocs-047135e65db3686c7b168ba029e8545071e5226f.tar.gz
Autogenerated HTML docs for v2.15.1-433-g936d1
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/git-clone.html b/git-clone.html
index ed9be59bf..0d1a0318a 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -753,7 +753,7 @@ 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] [--no-tags]
- [--recurse-submodules] [--[no-]shallow-submodules]
+ [--recurse-submodules[=&lt;pathspec&gt;]] [--[no-]shallow-submodules]
[--jobs &lt;n&gt;] [--] &lt;repository&gt; [&lt;directory&gt;]</pre>
<div class="attribution">
</div></div>
@@ -1094,15 +1094,17 @@ branch of some repository for search indexing.</p></div>
After the clone is created, initialize and clone submodules
within based on the provided pathspec. If no pathspec is
provided, all submodules are initialized and cloned.
- Submodules are initialized and cloned using their default
- settings. The resulting clone has <code>submodule.active</code> set to
+ This option can be given multiple times for pathspecs consisting
+ of multiple entries. The resulting clone has <code>submodule.active</code> set to
the provided pathspec, or "." (meaning all submodules) if no
- pathspec is provided. This is equivalent to running
- <code>git submodule update --init --recursive</code> immediately after
- the clone is finished. This option is ignored if the cloned
- repository does not have a worktree/checkout (i.e. if any of
- <code>--no-checkout</code>/<code>-n</code>, <code>--bare</code>, or <code>--mirror</code> is given)
+ pathspec is provided.
</p>
+<div class="paragraph"><p>Submodules are initialized and cloned using their default settings. This is
+equivalent to running
+<code>git submodule update --init --recursive &lt;pathspec&gt;</code> immediately after
+the clone is finished. This option is ignored if the cloned repository does
+not have a worktree/checkout (i.e. if any of <code>--no-checkout</code>/<code>-n</code>, <code>--bare</code>,
+or <code>--mirror</code> is given)</p></div>
</dd>
<dt class="hdlist1">
--[no-]shallow-submodules
@@ -1353,7 +1355,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 2017-05-16 13:30:41 JST
+Last updated 2017-12-19 13:57:18 PST
</div>
</div>
</body>