summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-30 16:00:21 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-30 16:00:21 -0700
commitdc8d0c30582dfb0c734e0999ffbb301067de92ef (patch)
treecf4262bb682df7b39006e1f33554dd9804623144 /git-clone.html
parent2affb96f40129de19a00a0ff8b22e31a47499c42 (diff)
downloadgit-htmldocs-dc8d0c30582dfb0c734e0999ffbb301067de92ef.tar.gz
Autogenerated HTML docs for v2.12.2-575-gb14f2
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/git-clone.html b/git-clone.html
index 71e64cef0..35f87315e 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]
- [--recursive | --recurse-submodules] [--[no-]shallow-submodules]
+ [--recurse-submodules] [--[no-]shallow-submodules]
[--jobs &lt;n&gt;] [--] &lt;repository&gt; [&lt;directory&gt;]</pre>
<div class="attribution">
</div></div>
@@ -1071,15 +1071,17 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
---recursive
-</dt>
-<dt class="hdlist1">
---recurse-submodules
+--recurse-submodules[=&lt;pathspec]
</dt>
<dd>
<p>
- After the clone is created, initialize all submodules within,
- using their default settings. This is equivalent to running
+ 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
+ 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
@@ -1335,7 +1337,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-10-10 16:24:22 PDT
+Last updated 2017-03-30 16:00:02 PDT
</div>
</div>
</body>