submodule: document "sync --recursive"
authorMatthew Chen <charlesmchen@gmail.com>
Fri, 13 Jun 2014 17:40:50 +0000 (13:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2014 22:00:17 +0000 (15:00 -0700)
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>
Documentation/git-submodule.txt
index bfef8a0c62a56865cfe2335841efcb4535642287..068ad453ca46d058eb3139287cf9fd744726ce3d 100644 (file)
@@ -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