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

提交文件给远程端

相关推荐
bigHead-7 小时前
Git合并操作详解:安全高效地合并远程分支
git·安全·elasticsearch
C_心欲无痕7 小时前
ts - 交叉类型
前端·git·typescript
秋饼9 小时前
【K8S测试程序--git地址】
git·容器·kubernetes
小龙21 小时前
【Git 报错解决】本地无有效提交无法推送(`src refspec main does not match any`)
git·github·报错
小扶苏21 小时前
删除git全局账号信息并设置成新的账号密码命令
git
Greg_Zhong1 天前
Git创建任务分支进行开发,最后合并主分支master【纯git命令执行过程】阐述
git
眯眼因为很困啦1 天前
GitHub Fork 协作完整流程
前端·git·前端工程化
AlexDeng1 天前
Git 中模糊搜索分支名称并创建本地跟踪分支
git
jxm_csdn1 天前
递归工程工厂:Claude Code + Git Worktrees + Tilix/Tmux 的“AI分身”编码团队
人工智能·git
码咔吧咔1 天前
Git 中 pull.rebase = true 的作用与设置方法详解
git