git - Can Tig color commits of different branches differently? -



git - Can Tig color commits of different branches differently? -

in tig, find hard find out commit belongs branch. in gitk, much more easier. think because of 2 things. firstly, gitk colors branches differently (i mean lines between commits) , secondly, seems commits place in different "columns" (see pictures, btw git log --graph draws branches tig).

is there way color bluish stars or pinkish lines drawn each branch?

yes, tig shows branch lines different colors since version 2.0. due limitations in how lines can drawn using text, commit graph rendered in tig less compact gitk. compared tig, gitk uses other ways cut down "horizontal" width of commit graph such hiding branch lines in parts of graph when have no commits.

the color of commit "nodes" can configured in tigrc setting graph-commit color. example:

color graph-commit greenish default

git gitk tig

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -