This is my .gitmodules
:
[submodule "app/code/EthanYehuda/CronjobManager"]
path = app/code/EthanYehuda/CronjobManager
url = https://[email protected]/some_user/ethanyehuda_cronjobmanager.git
I need to change the url to https://github.com/Ethan3600/magento2-CronjobManager.git
So I just changed it:
[submodule "app/code/EthanYehuda/CronjobManager"]
path = app/code/EthanYehuda/CronjobManager
url = https://github.com/Ethan3600/magento2-CronjobManager.git
Then I added the file to the staging area and made a commit:
git add .gitmodules
git commit -m "change url of submodule xy"
Then I executed git submodule update --init
. But if I go to app/code/EthanYehuda/CronjobManager
and show the remote, then I still get https://[email protected]/some_user/ethanyehuda_cronjobmanager.git