Git提示信息 Pulling is not possible because you have unmerged files.

git [fatal] hint: Pulling is not possible because you have unmerged files.hint: Fix them up in the ...

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

错误:无法提取,因为您有未合并的文件。

hint: Fix them up in the work tree, and then use 'git add/rm '

提示:在工作树中修改它们,然后使用'git add/rm '

hint: as appropriate to mark resolution and make a commit.

提示:根据需要标记解决方案并提交。

fatal: Exiting because of an unresolved conflict.

致命的:因未解决的冲突而离开

只需要我们如下步骤:

git status

查看状态,发现那个红字表明的unmerged的文件

git add unmerged文件的地址

提交文件到缓存区

(按住shfit键,右键文件,选择框里面有复制文件地址的选项,粘贴到git中,可能会有些多余的乱码,进行删除就行,最后呈现这样的地址"E:\c-language-learning\README.md")

git commit -m "注释"

给暂存区域生成快照并提交

git push

提交文件给远程端

相关推荐
该换个名儿了4 小时前
git多个commit合并成一个
前端·git
不爱学英文的码字机器4 小时前
[Git] 分布式版本控制 & 远程仓库协作
分布式·git
Stack_guigui5 小时前
git连接本地仓库以及gitee
git·gitee
火车叼位5 小时前
Git 精准移植代码:cherry-pick 简单说明
前端·git
Cynthia-石头8 小时前
Git Github Gitee GitLab
git·gitee·github
ak啊1 天前
Git 撤销操作完全指南:从工作区到远程仓库的救赎之路
git
小_路1 天前
git 常用命令
git
Dontla1 天前
git引用概念(git reference,git ref)(简化对复杂SHA-1哈希值的管理)(分支引用、标签引用、HEAD引用、远程引用、特殊引用)
git·算法·哈希算法
枫叶落雨2222 天前
Git 使用规范指南
git
德育处主任2 天前
聚沙成塔,三步成书:GitBook极简入门教程
前端·git·电子书