summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-05 14:22:00 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-05 14:22:00 -0800
commitb3f862c5e7e19d0ae8abc32492356ff7d1578110 (patch)
tree95b41daba023b1705d5ec5b8d4db399c8cbc3f9d /git-submodule.html
parent8ef91f31f6606a0370b18943c3b0f089e04873f9 (diff)
downloadgit-htmldocs-b3f862c5e7e19d0ae8abc32492356ff7d1578110.tar.gz
Autogenerated HTML docs for v2.24.0-390-g083378
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/git-submodule.html b/git-submodule.html
index 73a905ab5..4c99ad083 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -829,6 +829,8 @@ status [--cached] [--recursive] [--] [&lt;path&gt;&#8230;]
does not match the SHA-1 found in the index of the containing
repository and <code>U</code> if the submodule has merge conflicts.
</p>
+<div class="paragraph"><p>If <code>--cached</code> is specified, this command will instead print the SHA-1
+recorded in the superproject for each submodule.</p></div>
<div class="paragraph"><p>If <code>--recursive</code> is specified, this command will recurse into nested
submodules, and show their status as well.</p></div>
<div class="paragraph"><p>If you are only interested in changes of the currently initialized
@@ -888,7 +890,8 @@ update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--forc
<div class="openblock">
<div class="content">
<div class="paragraph"><p>Update the registered submodules to match what the superproject
-expects by cloning missing submodules and updating the working tree of
+expects by cloning missing submodules, fetching missing commits
+in submodules and updating the working tree of
the submodules. The "updating" can be done in several ways depending
on command line options and the value of <code>submodule.&lt;name&gt;.update</code>
configuration variable. The command line option takes precedence over
@@ -1384,7 +1387,7 @@ for details.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-10-08 22:51:03 PDT
+ 2019-12-05 14:19:10 PST
</div>
</div>
</body>