当前分支文件和远程仓库的文件不一致,需要将远程仓库的文件同步到本地仓库后再merge或commit,push试试下面的 git reset --hard 分支名 git push --force origin master