Skip to content

Commit

Permalink
Merge branch 'sb/doc-submodule-sync-recursive' into maint
Browse files Browse the repository at this point in the history
* sb/doc-submodule-sync-recursive:
  document submodule sync --recursive
  • Loading branch information
Junio C Hamano committed Dec 11, 2015
2 parents 63b3db7 + e7220c4 commit 17e5bca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/git-submodule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 17e5bca

Please sign in to comment.