Created
March 20, 2017 21:20
-
-
Save mattmccarty/d1fb6fcbedb333de1ccf90528f3b7047 to your computer and use it in GitHub Desktop.
Beautify the output of git-log
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
# Issue the command below: | |
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" | |
# When you want to beautify the git log, use the following command: | |
git lg | |
# Reference: | |
https://coderwall.com/p/euwpig/a-better-git-log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment