ASCII码 ASCII码

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

发布于:2022-06-11 09:28:09  栏目:技术文档

问题:今天在提交代码的时候出现了这个错误:

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

解决方法:

1.gitadd-u
2.gitcommit-m"注释"
3.gitpull
先将文件先存放到暂存区然后提交注释,再git pull不报错了

这种报错一般是以为有冲突的文件,需要解决冲突或者合并文件,解决完或者合并之后需要重新提交

注:参考:https://blog.csdn.net/wy01272454/article/details/72846365

相关推荐
阅读 +