git命令在Push代码前,没有pull拉最新的代码,因此出现了Merge冲突。 git merge --abort git reset --merge 这样就可以取消merge。 解决冲突后再merge(拉取远端代码,合并,再推送)