git中error: You have not concluded your merge (MERGE_HEAD exists). hint: Please, commit your changes
本地代码commit了,但无法push,发现git上现在不是最新版本,于是就想pull拉取最新版本错误可能是因为在你以前pull下来的代码没有自动合并导致的.
有2个解决办法:
保留你本地的修改
git merge --abort
git reset --merge
合并后记得一定要提交这个本地的合并
然后在获取线上仓库
git pull
...
原创
2019-10-12 17:58:49 ·
25358 阅读 ·
0 评论