$ git remote rm origin $ git remote add origin '仓库地址.git' $ git branch --set-upstream-to=origin/master master