最近公司代码仓库由github转gitlab,需要更新一些仓库的远程地址:
一、查看远程仓库地址
git remote -v
二、更新远程仓库地址
git remote set-url origin https://git.xxxxxxxxx.git
来源:https://www.cnblogs.com/weihengblog/p/12242977.html
最近公司代码仓库由github转gitlab,需要更新一些仓库的远程地址:
一、查看远程仓库地址
git remote -v
二、更新远程仓库地址
git remote set-url origin https://git.xxxxxxxxx.git
来源:https://www.cnblogs.com/weihengblog/p/12242977.html