您的位置:首页 > 其它

Error merging: fatal: You have not concluded your merge (MERGE_HEAD exists).

2017-11-09 15:20 846 查看
错误:Error merging: fatal: You have not concluded your merge (MERGE_HEAD exists).



解决方案1:保留你本地的修改(推荐)

git merge --abort

git reset --merge

合并后记得一定要提交这个本地的合并

然后在获取线上仓库

git pull



解决方案2:down下线上代码版本,抛弃本地的修改

git fetch --all

git reset --hard origin/master

git fetch

解决方案3:删除分支,重新clone
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐