报错原因:可能是在以前pull下来的代码自动合并失败。 解决办法:保留本地的更改,中止合并->重新合并->重新拉取 1.git merge --abort 2.git reset --merge 3.git pull