当我检查文件的状态(All conflicts fixed but you are still merging.
(use "git commit" to conclude merge)
)时,我收到以下消息:
git commit
所以,我尝试使用error: Committing is not possible because you have unmerged files.
。结果我收到以下错误:
U
我有两个文件的名称,前面有字母git status file2.py
。当我用Unmerged paths:
(use "git add/rm <file>..." as appropriate to mark resolution)
deleted by them: path/to/my/file2.py
no changes added to commit (use "git add" and/or "git commit -a")
检查他们的状态时,我得到以下信息:
print_r($order_ids)
现在我不确定这些文件有什么问题,我该怎么办。
答案 0 :(得分:4)
正如消息所说,您要合并的其他分支删除了该文件,您已经对其进行了一些修改。
现在要么应该git rm <path>
确认文件删除,要么git add <path>
确认更改,然后继续提交。