I\'ve created a git repository with a submodule in it. I\'m able to tell the submodule itself to change its remote repository path, but I\'m not sure how to tell the parent
In simple terms, you just need to edit the .gitmodules file, then resync and update:
Edit the file, either via a git command or directly:
git config --file=.gitmodules -e
or just:
vim .gitmodules
then resync and update:
git submodule sync git submodule update --init --recursive --remote