File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,9 @@ sync::
237
237
+
238
238
"git submodule sync" synchronizes all submodules while
239
239
"git submodule sync \-- A" synchronizes submodule "A" only.
240
+ +
241
+ If `--recursive` is specified, this command will recurse into the
242
+ registered submodules, and sync any nested submodules within.
240
243
241
244
OPTIONS
242
245
-------
@@ -364,7 +367,7 @@ the submodule itself.
364
367
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
365
368
366
369
--recursive::
367
- This option is only valid for foreach, update and status commands.
370
+ This option is only valid for foreach, update, status and sync commands.
368
371
Traverse submodules recursively. The operation is performed not
369
372
only in the submodules of the current repo, but also
370
373
in any nested submodules inside those submodules (and so on).
You can’t perform that action at this time.
0 commit comments