Git: Colored graph at the command line
Here's the end result:
And here's the .gitconfig
:
[color]
ui = always
[alias]
graph = log --graph --all --oneline
Note: color
could be set to auto as well.
With this in place you just write
git graph
in a repository to get the graph.
Here's a thread on the subject on Stack Overflow with more tips:
Written by Martin Runelöv
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#