1

I received a conflict when trying to merge two files:

CONFLICT (content): Merge conflict in user.py

When I looked into user.py, there is no git-conflict-notation/mark that I was used to:

<<<<<<< HEAD
Hello world
=======
Hola mundo
>>>>>>>

What could be the problem?

4

1 回答 1

1

我的猜测是你可能启用了 git-rerere。

这个工具[re]cords [re]对过去冲突的解决方案。因此,下次您将相同的主题分支合并或变基为(非常)相似(修订)的分支时,然后 git [re]members 您选择了哪些冲突解决方案并为您应用它们。

如果您使用主题分支或频繁变基,这非常棒。

但是,如果您需要/更喜欢完全控制,请禁用它:

git config rerere.enabled false
于 2015-07-06T22:30:49.147 回答