Skip to content

Instantly share code, notes, and snippets.

@jeremymouton
Created June 9, 2013 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremymouton/5737608 to your computer and use it in GitHub Desktop.
Save jeremymouton/5737608 to your computer and use it in GitHub Desktop.
From: https://coderwall.com/p/euwpig Adds color styles to git log. Copy/paste into terminal. Use: "git lg", "git lg -p"
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment