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

Re: git submodule init --recursive?

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
Jun 26, 2015, 01:08 UTC
Message-ID
<CAHd499DN8cL0NiMkJv4==_1u+FfAi78HCw-C=4Xe+SV3-aZmng@mail.gmail.com>
In-Reply-To
<CAHd499BbW=yAR_4WFiuq7TvFvYKN84FkQSjGL6AqCoYffOg2LQ@mail.gmail.com>
On Thu, Jun 25, 2015 at 8:04 PM, Robert Dailey <rcdailey.lists@gmail.com> wrote:
Show 10 quoted lines
> 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.
Never mind please, I'm a moron. I'm supposed to use sync for this task.
Been a long day and haven't had enough beer yet.
Previous: Robert Dailey
Message 2 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.