A Colorful Condensed git log

Out of the box git commit logs are a bit drab.

commit f93f639563850136a11c4cbc39a119c6905feaf2
Author: John Westlund <email@addr>
Date:   Mon Dec 12 15:49:17 2016 -0800

    broke some stuff

commit 7dc383f214dd9155d78e4542a993607ec07eaa84
Author: Other Dev <email2@addr>
Date:   Mon Dec 12 15:26:16 2016 -0800

    fixed some stuff

commit 015ac5ff9b39143c91d5dc136a2c8d578b733e27
Author: Other Dev <email2@addr>
Date:   Mon Dec 12 15:15:23 2016 -0800

    added some stuff

I find the following a little more useful:

git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

git log

Which makes a useful git alias:

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"