Last active
December 11, 2015 19:29
-
-
Save practicalli-johnny/4649149 to your computer and use it in GitHub Desktop.
Git configuration for visualising git log and the commit graph
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
[alias] | |
lol = log --pretty=oneline --abbrev-commit --graph | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all | |
lgl = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment