threads / patch / 36910

patchAdd --recursive flag to documentation of git submodule sync command.

Subject: [PATCH] Add --recursive flag to documentation of git submodule sync command.

## tl;dr

One message between Jun 13, 2014 and Jun 13, 2014. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Charles Matthew Chen· Jun 13, 2014, 17:40 UTC · lore

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>
---
 Documentation/git-submodule.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-submodule.txt +1 −1
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index 89c4d3e..8e6af65 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
-- 
1.8.5.3

← back to recent threads