git pull 报错 error: Your local changes to the following files would be overwritten by merge

Posted 菜小鱼鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git pull 报错 error: Your local changes to the following files would be overwritten by merge相关的知识,希望对你有一定的参考价值。

更新本地分支的时候,提示让先merge

可以忽略本地改动直接覆盖:

1 git reset --hard
2

 



以上是关于git pull 报错 error: Your local changes to the following files would be overwritten by merge的主要内容,如果未能解决你的问题,请参考以下文章