Created
September 27, 2021 13:38
-
-
Save Khoulaiz/a19c04f8b95415ff5de3177ae214b382 to your computer and use it in GitHub Desktop.
create an alias for a colorful git changelog with `git lg`
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