Last active
October 17, 2018 05:53
-
-
Save lexiaoyao20/d00f2eac4d12dcdb566cccf322d1f1a5 to your computer and use it in GitHub Desktop.
Git 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.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment