1.将本地的冲突文件冲掉,不仅需要reset到MERGE-HEAD或者HEAD,还需要–hard。没有后面的hard,不会冲掉本地工作区。只会冲掉stage区。

git reset –hard FETCH_HEAD

2.git pull就会成功。

扫一扫 分享收藏
扫一扫 分享收藏

留言 |  足迹 |  摘抄 |  密码器

Copyright © 2023 shaowenhao.com. All Rights Reserved

Designed & Powered By shaowenhao.com

admin@shaowenhao.com

辽ICP备15001991号-1