git远程仓库变更

查看自己的远程仓库

git remote -v

远程仓库变更

git remote remove origin   //移出现有的远程仓库的地址
git remote add origin http://122.14.202.146:9100/vue/inschos_mobile.git                             //新添加现有的远程仓库地址

//推上去的话就强推
git强推命令git push -f origin master

原文地址:https://www.cnblogs.com/lml-lml/p/8967317.html