Color chart

In the log view in SourceTree, in the Graph column, you can see several different colored lines. How do you know which color matches each line?

thanks

+7
git atlassian-sourcetree
source share
2 answers

I’m not sure if this is the answer (that it doesn’t solve your problem), but I don’t think that this function is currently available in SourceTree , at the moment the colors for the branches are assigned to random (although selected in a certain order) .

There are requests for such a function: https://jira.atlassian.com/browse/SRCTREE-1191

There is also an answer from the Atlassian developer emphasizing implementation difficulties:

In git, branches are never an attribute of a commit, they simply point to a single commit that moves as you pass that branch, so the story is created by the association through the parent links, and each commit has no branch information associated with it. This means that moving branches is very easy in git, which is one of its strengths, although it can be confusing not to see an explicit branch in commit metadata, as you are used to on other systems. Technically, the lines of a graph are simply lines of a pedigree, not a branch line (although often they align).

+4
source share

the color of each fix point will correspond to the color of the branch line.

-2
source share

All Articles