
git更换远程仓库地址
git更换远程仓库地址
直接改
git remote -v #查看远端地址
git remote #查看远端仓库名
git remote set-url origin https://gitee.com/xx/xx.git (新地址)
删了改
git remote rm origin #删除远程的仓库
git remote add origin https://gitee.com/xx/xx.git(新地址) #重新添加远程仓库
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 刘哥还在学