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

git submodule init --recursive?

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
Jun 26, 2015, 01:04 UTC
Message-ID
<CAHd499BbW=yAR_4WFiuq7TvFvYKN84FkQSjGL6AqCoYffOg2LQ@mail.gmail.com>
I have a few nested submodules, all use relative URLs such as:

../mysubmodule.git ../../tools/tool1.git

If I change my parent repo URL, I need to recursively update all remotes in each submodule. There is no `--recursive` option for `git submodule init`. What is the recommend method for accomplishing this?

Thanks in advance.
Next: Robert Dailey
Message 1 of 2 in “git submodule init --recursive?”
  1. Robert DaileyJun 26, 2015
  2. Robert DaileyJun 26, 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.