提交的时候报错 git push -f 进行解决错误 成功后代码 解决后还报错 git pull --rebase origin master 之后再进行git push 即可。 DELL@DESKTOP