diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-19 13:57:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-19 13:57:54 -0800 |
commit | 047135e65db3686c7b168ba029e8545071e5226f (patch) | |
tree | 8cb85350a565679c88d6d642189594081b64a38b /git-clone.html | |
parent | 005a1130228687694cfc3f028b25b6eea05dbbb2 (diff) | |
download | git-htmldocs-047135e65db3686c7b168ba029e8545071e5226f.tar.gz |
Autogenerated HTML docs for v2.15.1-433-g936d1
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 20 |
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 <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--dissociate] [--separate-git-dir <git dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
- [--recurse-submodules] [--[no-]shallow-submodules]
+ [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
[--jobs <n>] [--] <repository> [<directory>]</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 <pathspec></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>
|