1.切换远程仓库
一:直接修改仓库地址
git remote set-url origin 新的远程仓库地址
二:先删除后添加
1 :删除 git remote rm origin
2:添加 git remote add origin 新的远程仓库地址
2.查看远程仓库地址
git remote -v

版权声明:本文为wanjun_007原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
git remote set-url origin 新的远程仓库地址
1 :删除 git remote rm origin
2:添加 git remote add origin 新的远程仓库地址
git remote -v
