Tortoise Git Merge Conflict Colors
Asked Answered
M

2

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.

Monosyllabic answered 24/10, 2014 at 16:28 Comment(0)
M
45

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".

Monosyllabic answered 24/10, 2014 at 16:31 Comment(5)
I would have NEVER found that. And clearly at least 4 people found this helpful!Motivation
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.Lucrece
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.Noah
tortoisegit.org/docs/tortoisegitmerge/…Panda
In version 2.5.7, the "Settings" option is under the File menu.Westering
H
10

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

Color settings pane with defaults

Hege answered 21/7, 2021 at 18:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.