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

git --recurse-submodule does not recurse to sub-submodules (etc.)

From
MHMaximilian Held <maximilian.held83@gmail.com>
Date
Jan 19, 2015, 20:19 UTC
Message-ID
<CACgLhq_kMv2cj4RHr8Yx5tnYup5enCJVMrZf9Yt9Y5-bkfozLg@mail.gmail.com>
I have a directory with nested submodules, such as:
supermodule/submodule/sub-submodule/sub-sub-submodule
When I cd to supermodule and do:
"git push --recurse-submodule=check" (or on-demand),
git only pushes the submodule, but not the sub-submodule etc.

Maybe this is expected behavior and not a bug, but I thought it was pretty unintuitive. I expected that git would push, well, recursively.

Best Max

http://www.maxheld.de
Next: Jens Lehmann
Message 1 of 3 in “git --recurse-submodule does not recurse to sub-submodules (etc.)”
  1. Maximilian HeldJan 19, 2015
  2. Jens LehmannJan 20, 2015
  3. Maximilian HeldJan 23, 2015

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.