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

提交文件给远程端

相关推荐
wno7041 天前
常用的Git命令清单
大数据·git·elasticsearch
真上帝的左手2 天前
3. 代码管理-Git-进阶
git·源代码管理
YIN_尹2 天前
【git原理与使用】git基本操作及底层原理(二)
大数据·git·elasticsearch
程序员爱德华2 天前
Git 命令
git
Cry丶3 天前
Git Rebase 操作备忘
git·rebase
你叶不叶3 天前
abap git 如何从 gitee上在线拉取数据(上一步已经配置好证书)
git·gitee·sap·abapgit
kuroomi4 天前
Git入门
git·kubernetes
daliucheng4 天前
lazygit 上手:日常 git 操作一篇讲完
git
codigger4 天前
大厂git提交规范
git·程序员
挖掘狂人4 天前
六条分支,一条主干:我的 Git 分支管理心得
git·后端·程序员