Life, half is memory, half is to continue.
git pull报错Pulling is not possible because you have unmerged files
By Vincent. @2021.3.9
git pull报错Pulling is not possible because you have unmerged files

git pull 报错

error: Pulling is not possible because you have unmerged files.

解决办法

git add -u
git commit -m””
git pull

先将文件先存放到暂存区然后提交注释,再git pull不报错了
这种报错一般是以为有冲突的文件,需要解决冲突或者合并文件,解决完或者合并之后需要重新提交,不限于pulling

扫码分享收藏
扫码分享收藏