summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Chen <charlesmchen@gmail.com>2014-06-13 13:40:50 -0400
committerJunio C Hamano <gitster@pobox.com>2014-06-13 15:00:17 -0700
commit9393ae79c9b4d3deade544be9ce057b7fa290490 (patch)
treed2d4c7c470b1e67a73473fde4d6bec961c36d33d
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d (diff)
downloadgit-mc/doc-submodule-sync-recurse.tar.gz
submodule: document "sync --recursive"mc/doc-submodule-sync-recurse
The "git submodule sync" command supports the --recursive flag, but the documentation does not mention this. That flag is useful, for example when a remote is changed in a submodule of a submodule. Signed-off-by: Matthew Chen <charlesmchen@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-submodule.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index bfef8a0c62..068ad453ca 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -20,7 +20,7 @@ SYNOPSIS
'git submodule' [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]
[commit] [--] [<path>...]
'git submodule' [--quiet] foreach [--recursive] <command>
-'git submodule' [--quiet] sync [--] [<path>...]
+'git submodule' [--quiet] sync [--recursive] [--] [<path>...]
DESCRIPTION