29

What do the colors mean when resolving conflicts in TortoiseGit?

E.g: There's a conflict in a file, and there's text highlighted with orange in the "theirs" window, and yellow in the "mine" window. And of course, the red text highlighted.

My confusion is that I'm not sure what code from each file is being added to the final file.

I've looked online for a definition of what the different colours mean, or a settings page to customize them (which would be equally good) but I can't find either.

FuriousFolder
  • 1,200
  • 1
  • 12
  • 27

2 Answers2

44

Wow...I feel sheepish. In the Tortoise git diff window, in the top left, there's an arrow pointing down. Clicking this opens "Settings" with a tab for "Colors".

FuriousFolder
  • 1,200
  • 1
  • 12
  • 27
  • 2
    I would have NEVER found that. And clearly at least 4 people found this helpful! – Clay Nichols Oct 13 '16 at 19:22
  • 2
    I use TortoiseGitMerge 2.5.0.0 and there is no "Settings" in the menu of that little arrow. Now you have to click on the big round button to the left of that arrow. – Amomum Nov 22 '17 at 13:15
  • 1
    Although I found the color legend, the colors in tortoise git merge don't make sense for me. It colours line, which wasn't there before, as deleted etc. Is there any deeper explanation, what the colors do mean? For example in TFS there are green and red changes and it is clear immediately, what gets into the result. Here I don't understand the result and try to put there everything and then manually change later. – Marťas Jan 17 '18 at 14:45
  • https://tortoisegit.org/docs/tortoisegitmerge/tmerge-dug-settings.html#tmerge-dug-settings-color – Markus Dübbert Aug 23 '18 at 14:24
  • 5
    In version 2.5.7, the "Settings" option is under the File menu. – Mario Vázquez May 10 '19 at 10:04
9

Here's a screen shot of the default settings for your reference.

Color settings pane with defaults

Liam Gallagher
  • 170
  • 1
  • 9