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错误
冲突解决方案:
1、git stash
2、git pull
3、git stash pop
注释:
git stash: 备份当前的工作区的内容,将当前的工作区内容保存到Git栈中。
git stash pop: 从Git栈中读取最近一次保存的内容,恢复工作区的相关内容。
...
原创
2021-11-17 17:55:43 ·
255 阅读 ·
0 评论