Created
October 11, 2012 14:41
-
-
Save dougalcampbell/3872873 to your computer and use it in GitHub Desktop.
A sweet git alias for pretty pretty log listings
This file contains 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 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" | |
# use: git lg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment