Created
October 18, 2013 09:52
-
-
Save hascode/7039247 to your computer and use it in GitHub Desktop.
Setting a global alias to allow a pretty-printed git log output defining an alias named plog (for pretty-log).
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.plog "log --graph --decorate --all --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'" | |
git plog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment