git submodule init --recursive?

2 messages, 1 author, 2016-06-15 · open the first message on its own page

git submodule init --recursive?

From: Robert Dailey <hidden>
Date: 2016-06-15 23:05:32

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.

Re: git submodule init --recursive?

From: Robert Dailey <hidden>
Date: 2016-06-15 23:05:32

On Thu, Jun 25, 2015 at 8:04 PM, Robert Dailey [off-list ref] wrote:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help