Last Updated: February 25, 2016
· mrunelov

Git: Colored graph at the command line

Here's the end result:


And here's the .gitconfig:

        ui = always
    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:

Pretty git branch graphs