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

提交文件给远程端

相关推荐
fpcc4 小时前
工具使用—git diff命令分析说明
git·工具
console.log('npc')4 小时前
Git 删除指定提交记录操作指南
git
随风丶飘4 小时前
[特殊字符] 告别“update“和“fix bug“——Smart Git Commit LLM 让 AI 帮你写专业的 Git 提交信息
人工智能·git·bug
yanlaifan5 小时前
git clone时候指定换行符
git
小小安于乱9 小时前
解决IDEA的git插件pull代码冲突但右下角不提示消息问题
java·git·intellij-idea
ITKEY_11 小时前
git 命令行操作回退到指定版本
git
New_Horizons66613 小时前
Git 操作(使用git-commit-template)
git
慕容引刀16 小时前
或许你真的需要这个Git神器:让团队提交文案终于对齐了
人工智能·git·vscode·自然语言处理·github
jjh+++(求关注版)17 小时前
git-命令速查清单
git
yanlaifan1 天前
git版本管理工具中的回车换行转换逻辑
git