Parece que você pode ter ativado acidentalmente o driver de mesclagem de união para arquivos de texto. Verifique um tipo de arquivo com merge=union
em qualquer um desses locais de arquivo de atributos:
- "
.git/info/attributes
" no repositório - "
.gitattributes
" no repositório - Um arquivo referenciado pela opção
core.attributesfile
(executargit config --list
)
Na página do manual gitattributes :
The attribute
merge
affects how three versions of a file are merged when a file-level merge is necessary during git merge, and other commands such as git revert and git cherry-pick....
Built-in merge drivers
There are a few built-in low-level merge drivers defined that can be asked for via the merge attribute.
text
Usual 3-way file level merge for text files. Conflicted regions are marked with conflict markers <<<<<<<, ======= and >>>>>>>. The version from your branch appears before the ======= marker, and the version from the merged branch appears after the ======= marker.
...
union
Run 3-way file level merge for text files, but take lines from both versions, instead of leaving conflict markers. This tends to leave the added lines in the resulting file in random order and the user should verify the result. Do not use this if you do not understand the implications.