summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-10 15:43:41 -0800
committerJunio C Hamano <gitster@pobox.com>2017-01-10 15:43:41 -0800
commit56ace3dc6b7a017d6acc8e6d1d2feb65257013d4 (patch)
treeee74fa5bf04df8a090959a61f59c19b7d7a3c5d3 /git-submodule.html
parent9e35abf2be7349a7bcfc5580b01ee69d5718b008 (diff)
downloadgit-htmldocs-56ace3dc6b7a017d6acc8e6d1d2feb65257013d4.tar.gz
Autogenerated HTML docs for v2.11.0-295-gd7dff
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html22
1 files changed, 20 insertions, 2 deletions
diff --git a/git-submodule.html b/git-submodule.html
index d087aebaa..5b6e8b303 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -760,7 +760,8 @@ git-submodule(1) Manual Page
<em>git submodule</em> [--quiet] summary [--cached|--files] [(-n|--summary-limit) &lt;n&gt;]
[commit] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] foreach [--recursive] &lt;command&gt;
-<em>git submodule</em> [--quiet] sync [--recursive] [--] [&lt;path&gt;&#8230;]</pre>
+<em>git submodule</em> [--quiet] sync [--recursive] [--] [&lt;path&gt;&#8230;]
+<em>git submodule</em> [--quiet] absorbgitdirs [--] [&lt;path&gt;&#8230;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -1035,6 +1036,23 @@ sync
<div class="paragraph"><p>If <code>--recursive</code> is specified, this command will recurse into the
registered submodules, and sync any nested submodules within.</p></div>
</dd>
+<dt class="hdlist1">
+absorbgitdirs
+</dt>
+<dd>
+<p>
+ If a git directory of a submodule is inside the submodule,
+ move the git directory of the submodule into its superprojects
+ <code>$GIT_DIR/modules</code> path and then connect the git directory and
+ its working directory by setting the <code>core.worktree</code> and adding
+ a .git file pointing to the git directory embedded in the
+ superprojects git directory.
+</p>
+<div class="paragraph"><p>A repository that was cloned independently and later added as a submodule or
+old setups have the submodules git directory inside the submodule instead of
+embedded into the superprojects git directory.</p></div>
+<div class="paragraph"><p>This command is recursive by default.</p></div>
+</dd>
</dl></div>
</div>
</div>
@@ -1330,7 +1348,7 @@ for details.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-10-26 15:23:54 PDT
+Last updated 2017-01-10 15:42:58 PST
</div>
</div>
</body>