Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.