Skip to content

Instantly share code, notes, and snippets.

@elusive
Last active September 24, 2017 18:43
Show Gist options
  • Save elusive/295864d4a3d3be80ca175d28fd69b0a5 to your computer and use it in GitHub Desktop.
Save elusive/295864d4a3d3be80ca175d28fd69b0a5 to your computer and use it in GitHub Desktop.
Add alias for formatted git log call
[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