You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess you mean when submodule.<name>.url in .gitmodules is different than submodule.<name>.url in .git/config and/or from remote.origin.url in .git/modules/<name>/config.
Although we should be careful that this is still useful in more advanced use cases, such as if the user manually changed remote.origin.url in the submodule to point to their own fork, (in which case git submodule sync will overwrite this custom configuration, which is not very useful... I wish there was a submodule.<name>.remote configuration setting in .git/config that would tell git submodule sync which submodule remote url to update!)
This will prompt users to run
git submodule sync
to bring their URLs up to sync.The text was updated successfully, but these errors were encountered: