Nazri Ramliy <ayiehere@xxxxxxxxx> writes: > Otherwise it seems like I'll have to do "git submodule update" twice > in order to update an already initialized submodule whose upstream > repo url has been updated in .gitmodules to point to somewhere new, I am not a heavy submodule user so what I think may not count, but I think the "upstream" changing the URL of the submodule should be a rare and notable event. Making it easy to automatically run "sync" without thinking would be a huge mistake---it will make it likely for users to blindly follow what the upstream has in .gitmodules without checking if the new URL is sensible. Also doesn't "submodule sync" blindly overwrite URL, even the ones that you tweaked in your configuration to override to point at a mirror that is closer to you than the one suggested in .gitmodules? If that is the case, sucn a change to make it easier to run "sync" without thinking is doubly bad, I would think.