Last active
September 24, 2017 18:43
-
-
Save elusive/295864d4a3d3be80ca175d28fd69b0a5 to your computer and use it in GitHub Desktop.
Add alias for formatted git log call
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
[filter "hawser"] | |
clean = git hawser clean %f | |
smudge = git hawser smudge %f | |
required = true | |
[user] | |
name = John Gilliland | |
email = [email protected] | |
[filter "lfs"] | |
process = git-lfs filter-process | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
required = true | |
[core] | |
autocrlf = false | |
excludesfile = C:\\Users\\jgilliland\\Documents\\gitignore_global.txt | |
[alias] | |
exclude = !sh -c 'echo "$1" >> .git/info/exclude' - | |
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