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