Your local changes to the following files would be overwritten by merge

错误:Your local changes to the following files would be overwritten by merge
改正方法:
放弃本地修改直接覆盖的方法:
git reset --hard

然后再 

git pull

第二方式(推荐)

// 保存本地修改

git stash 

// 再pull
git pull

posted @ 2020-06-29 23:20  objectZhu  阅读(234)  评论(0编辑  收藏  举报