git迁移项目

最近线上将项目迁移到其他gitlab了
因为我的本地项目还有代码没有提交
这时,就需要将本地项目的线上连接地址更改为新的gitlab了

如下:

后面地址,为线上项目地址
git remote set-url origin http://172.23.4.1/xxxgroup/xxxexample.git 
原文地址:https://www.cnblogs.com/paper-man/p/13284699.html