我有一个集成分支,用于一次测试多个功能。有时功能会相互冲突,Git ReReRe 在帮助避免重新解决问题方面发挥了不可估量的作用。
但是这一次,我有一个文件,我有一个解决方案rr-cache
,Git 使用该解决方案,但随后抱怨我必须自己解决冲突。
Simple merge did not work, trying automatic merge.
Auto-merging src/file1.xxx
ERROR: content conflict in src/file1.xxx
Auto-merging src/file2.xxx
Auto-merging src/file3.xxx
fatal: merge program failed
Resolved 'src/file1.xxx' using previous resolution.
Automatic merge failed; fix conflicts and then commit the result.
$ git status
On branch integration
You have unmerged paths.
(fix conflicts and run "git commit")
(use "git merge --abort" to abort the merge)
Changes to be committed:
(...more files...)
modified: src/file2.xxx
modified: src/file3.xxx
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: src/file1.xxx
我试过git rerere forget src/file1.xxx
让它重新创建 ReReRe 分辨率。我什至尝试过postimage
手动设置。但似乎没有什么能说服 Gitpostimage
应该应用和接受它。
这不是一个困难的冲突,但我真的希望它无缝地发生。