Joined May 2012

James Chevalier

Web Developer at Common Media
Web Developer
Common Media
Holyoke, MA

Posted to A better git log over 1 year ago

This is great, thanks!

Rather than a git alias, I opted for a bash alias by adding this line to my .bash_profile:
alias gitlog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

Now I have gitlog and gitlog -p.
Thanks again!

49 Karma
0 Total ProTip Views