Today I tried to merge two branches and I ran into a conflict. I use the Visual Studio 2019 Team Explorer, and .gitconfig is set-up like this to launch KDiff3:
[merge]
tool = kdiff3
[mergetool "kdiff3"]
path = C:/Program Files/KDiff3/bin/kdiff3.exe
trustExitCode = false
This has worked great until now, but today there were Git's conflict markers in the base version of the file. Something like this:
Common code
<<<<<<<<< Temporary merge branch 1
One version of code
=========
Another version of code
>>>>>>>>> Temporary merge branch 2
More common code
This never happened before. Aren't those markers only meant for merging manually using text files? Any idea on how to fix this?
EDIT:
Also, using git directly from command line has the same markers, but I have no idea if those were there before because I almost never use the command line. This is the command I used:
git mergetool -g FileName.cs