首页 > 其他分享 >Your local changes to the following files would be overwritten by merge问题的解决

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

时间:2023-04-04 22:23:18浏览次数:34  
标签:files overwritten git would merge local

问题描述

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

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

问题解决

发现这样就可以解决啦:

git stash

git pull

这样就行啦!

标签:files,overwritten,git,would,merge,local
From: https://www.cnblogs.com/liuzijin/p/17288046.html

相关文章