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

提交文件给远程端

相关推荐
high201121 分钟前
【Git】-- 处理 Git 提交到错误分支的问题
git
axinawang2 小时前
在eclipse中通过git放弃某个版本之前所有的更新
git
菜鸟xy..6 小时前
Typora 小乌龟 git 上传到gitee仓库教程
git·gitee
小old弟9 小时前
Git简明指南:从入门到基本操作
前端·git
大佬,救命!!!9 小时前
git 常用操作整理
git·学习笔记
ashane131410 小时前
Redis的一些高级指令
redis·git·bootstrap
互联网搬砖老肖21 小时前
Git Fetch 和 Git Pull 的区别
git
涛ing21 小时前
【Git “fetch“ 命令详解】
linux·c语言·c++·人工智能·git·vscode·svn
ACGkaka_1 天前
Git(八)如何在同一台电脑登录两个Git
git
漫天转悠1 天前
本地Git仓库SSH同步到Gitee(码云)仓库的完整指南(附:SourceTree同步仓库)
git·gitee·ssh