Merge branch 'sb/doc-submodule-sync-recursive' into maint
* sb/doc-submodule-sync-recursive: document submodule sync --recursive
This commit is contained in:
commit
17e5bcab71
@ -237,6 +237,9 @@ sync::
|
|||||||
+
|
+
|
||||||
"git submodule sync" synchronizes all submodules while
|
"git submodule sync" synchronizes all submodules while
|
||||||
"git submodule sync \-- A" synchronizes submodule "A" only.
|
"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
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
@ -364,7 +367,7 @@ the submodule itself.
|
|||||||
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
|
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
|
||||||
|
|
||||||
--recursive::
|
--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
|
Traverse submodules recursively. The operation is performed not
|
||||||
only in the submodules of the current repo, but also
|
only in the submodules of the current repo, but also
|
||||||
in any nested submodules inside those submodules (and so on).
|
in any nested submodules inside those submodules (and so on).
|
||||||
|
Loading…
Reference in New Issue
Block a user