I have a project in Gitlab that is available over HTTP/SSH:
[email protected]:MyGroup/MyProject.git
I want to change that using another IP, i.e.:
[email protected]:MyGroup/MyProject.git
Where or how can I change that?
You can use below command to set new URL for your repository.
git remote set-url origin git://[email protected]:MyGroup/MyProject.git
You can find all repositories remotes inside the file .git/config
. You can edit it by hand or use command git remote
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With