How can I change the url for a project in GitLab?

后端 未结 2 2357
醉酒成梦
醉酒成梦 2021-02-20 11:26

I have a project in Gitlab that is available over HTTP/SSH:

git@192.168.1.10:MyGroup/MyProject.git

I want to change that using another IP, i.e.

2条回答
  •  眼角桃花
    2021-02-20 11:32

    You can find all repositories remotes inside the file .git/config. You can edit it by hand or use command git remote.

提交回复
热议问题