Skip to content

Instantly share code, notes, and snippets.

@havvg
Created December 20, 2011 15:42
Show Gist options
  • Save havvg/1501998 to your computer and use it in GitHub Desktop.
Save havvg/1501998 to your computer and use it in GitHub Desktop.
git pretty history
[alias]
ph = log --graph --pretty=pretty-history --abbrev-commit --date=relative
[pretty]
pretty-history = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
@cordoval
Copy link

thanks man, you rock

@stenyak
Copy link

stenyak commented Oct 15, 2012

How do you get different colors on the graph bars?

@havvg
Copy link
Author

havvg commented Nov 7, 2012

I'm not sure, I guess it's part of:

[color]
    ui = always

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment