version control - What do the colours mean in the TortoiseGit log window?

ID : 274371

viewed : 26

Tags : version-controltortoisegitversion-control





Top 5 Answer for version control - What do the colours mean in the TortoiseGit log window?

vote vote

95

From the TortoiseGit source for Colors.cpp:

  • CurrentBranch: Red
  • LocalBranch: Green
  • RemoteBranch: Peach
  • Tag: Yellow
  • Stash: Gray

The colors of the branch lines on the left aren't significant and don't correspond to the branch bar colors:

  • BranchLine1: Black
  • BranchLine2: Red
  • BranchLine3: Green
  • BranchLine4: Blue
  • BranchLine5: Gray
  • BranchLine6: Olive
  • BranchLine7: Teal
  • BranchLine8: Purple
vote vote

81

If you are talking about the log dialog:

  • the red are the local current branches
  • the flesh ones are the remote branches
  • the green ones are for tags non-current local branches
  • the yellow ones are for tags

Oran's answer (upvoted) has the complete list of color codes.

log dialog

vote vote

75

New marker: bisect

bisect good: blue

bisect bad: red (lighter)

vote vote

68

The question and answers are for a very old version of TortoiseGit.

Never version (>= 2.0) do not only have different colors, but also different shapes for indicating local branches, remote branches, remote tracking branches, stash, bisect refs, etc. (cf. https://stackoverflow.com/a/61266764/3906760).

The current default colors are:

  • CurrentBranch: Dark Red (two different shapes)
  • LocalBranch: Green (two different shapes)
  • RemoteBranch: Peach (two different shapes)
  • Tag: Yellow (two different shapes)
  • Stash: Gray
  • Bisect Bad: Light Red
  • Bisect Good: Blue
  • Bisect Skip: Grey

The color of the commit graph does not correspondent to the colors of the shapes. THe line color is just there to make the graph better readable.

Some of the colors are configurable: https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html#tgit-dug-settings-colours2

vote vote

57

Top 3 video Explaining version control - What do the colours mean in the TortoiseGit log window?







Related QUESTION?