Last active
June 8, 2016 02:00
-
-
Save maryshirl/10f3ac0b710f0b39ace503bdb45c1530 to your computer and use it in GitHub Desktop.
Git Alias for pretty format (e.g git lg -10)
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 --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset [%an]' --abbrev-commit --all" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment