1.. .. !Change git submodule URL December 2022 ยท 1 minute read Posted in: git If the location (URL) of the submodule has changed, then you can simply: 1. Modify the .gitmodules file in the repo root to use the new URL. 2. Delete the submodule folder in the repo ```console $ rm -rf .git/modules/ ``` 3. Delete the submodule folder in the working directory ```console $ rm -rf ``` 4. Run ```console $ git submodule sync ``` 5. And run ```console $ git submodule update ``` More complete info can be found elsewhere: 1.. ..