Git 修改远端仓库地址

方法有三种:
1.修改命令
git remote set-url origin [url]

例如:git remote set-url origin gitlab@gitlab.chumob.com:php/hasoffer.git

2.先删后加

git remote rm origin
git remote add origin [url]
3.直接修改config文件

posted @ 2018-08-23 17:01  JokerJason  阅读(3918)  评论(0编辑  收藏  举报

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things