git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
CCCharles Matthew Chen <charlesmchen@gmail.com>
Date
Jun 13, 2014, 17:40 UTC
Message-ID
<CACQxx-Ej-gcHp4PM-E1CCt9x+i99_N-VaNOrRpo6YwkAuhe2UA@mail.gmail.com>

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(-)
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
Message 1 of 1 in “Add --recursive flag to documentation of git submodule sync command.”
  1. Add --recursive flag to documentation of git submodule sync command.Charles Matthew Chen, Jun 13, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.