Git Pull Failed:You have not concluded your merge.Exiting because of unfinished merge

解决方法
方法一:舍弃本地代码,远程版本覆盖本地版本
使用这种方法之前,可以先将本地修改的代码备份一下,避免重敲代码。具体命令如下:

: g i t f e t c h a l l :git reset –hard origin/master
: g i t p u l l 1 2 3 > > :git merge –abort
: g i t r e s e t m e r g e :git pull
1
2
3
这种做法需要处理代码冲突,因此以上两种做法,根据你的需要,选择合适的解决办法。

猜你喜欢

转载自blog.csdn.net/qq_32534555/article/details/81479691
今日推荐