首页 > 其他分享> > git pull 的时候出现冲突 ,error: Your local changes to the following files would be overwritten by merge git pull 的时候出现冲突 ,error: Your local changes to the following files would be overwritten by merge 2022-04-13 13:00:52 作者:互联网 有以下两种解决方案 1 保留修改 git stash #封存修改 git pull origin master git stash pop #把修改还原 2.废弃修改 git reset --hard git pull origin master 标签:files,pull,git,stash,修改,master,changes,origin 来源: https://www.cnblogs.com/0bug/p/16139731.html