Your local changes to the following files would be overwritten by merge问题的解决

发布时间 2023-04-04 22:19:50作者: yesyes1

问题描述

在终端页面输入git pull,会出现这样一个报错:Your local changes to the following files would be overwritten by merge;

然后一开始没有注意到这个错误跟之前的错误不太一样,就还是按照之前的套路来的,没有解决

问题解决

发现这样就可以解决啦:

git stash

git pull

这样就行啦!