1.查看当前仓库地址
git remote show origin
2.设置新的仓库地址
1.先登录 gitlab 查看当前仓库地址:
- 执行修改地址命令
git remote set-url origin git@192.168.30.29:chenwei/em-data.com.cn.git
git remote show origin
1.先登录 gitlab 查看当前仓库地址:
git remote set-url origin git@192.168.30.29:chenwei/em-data.com.cn.git
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。