Last active
September 30, 2018 01:53
-
-
Save Aldlevine/8e8d1dd8eaea5fd0f94d57733a7de544 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
# command | |
git log --graph --pretty=format:"%Cred%h%Creset %C(yellow)%d%Creset %C(bold blue)<%an> %Cgreen(%cr)%n%n %Creset%s%n" --abbrev-commit | |
# alias | |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %C(bold blue)<%an> %Cgreen(%cr)%n%n %Creset%s%n' --abbrev-commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment