I wanted to change the name of a repository, from https to ssh. Repo was from github, well known:
- https://github.com/serrasqueiro/requests.git
...
and I wanted to change it with ssh authorization: git@github.com:serrasqueiro/requests.git
Edit the corresponding url...
vi .gitmodules
Or:
- git submodule set-url [--] path url
- and then synch.
git submodule sync
git submodule sync update --init --recursive --remote requests