Created
June 9, 2013 04:13
-
-
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"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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