Skip to content

Instantly share code, notes, and snippets.

@alebianco
Created February 28, 2014 09:38
Show Gist options
  • Save alebianco/9268139 to your computer and use it in GitHub Desktop.
Save alebianco/9268139 to your computer and use it in GitHub Desktop.
Configure a pretty format for git logs
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s (%Cgreen%cr%Creset) <%C(bold blue)%an %ae%Creset>' --abbrev-commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment