summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-11 13:31:17 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-11 13:31:17 -0800
commit45b356c6e919613f6065a6d4f5f1d937b7550171 (patch)
treef0d766cc2527f3829bc64dce4e04e0896fef5a1a /git-submodule.txt
parentd30e7ef3568f306399b720bc47e35596668aadfd (diff)
downloadgit-htmldocs-45b356c6e919613f6065a6d4f5f1d937b7550171.tar.gz
Autogenerated HTML docs for v2.7.0-rc0-20-g4b9ab
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index f17687e09..1572f058f 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -237,6 +237,9 @@ sync::
+
"git submodule sync" synchronizes all submodules while
"git submodule sync \-- A" synchronizes submodule "A" only.
++
+If `--recursive` is specified, this command will recurse into the
+registered submodules, and sync any nested submodules within.
OPTIONS
-------
@@ -364,7 +367,7 @@ the submodule itself.
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
--recursive::
- This option is only valid for foreach, update and status commands.
+ This option is only valid for foreach, update, status and sync commands.
Traverse submodules recursively. The operation is performed not
only in the submodules of the current repo, but also
in any nested submodules inside those submodules (and so on).