git 切换 远程仓库

$ git remote rm origin
$ git remote add origin '仓库地址.git'
$ git branch --set-upstream-to=origin/master master
原文地址:https://www.cnblogs.com/lizhanzhou/p/5609811.html