需要对应上分支名。 1.git remote rm origin 2.git remote add origin git@github.com:sheng/demo.git 3.git push 提交到master需要最高管理权限。