Skip to content

Instantly share code, notes, and snippets.

@adrianoresende
Last active August 3, 2018 03:01
Show Gist options
  • Save adrianoresende/c76f6cfad952843d8a5c07e80386f636 to your computer and use it in GitHub Desktop.
Save adrianoresende/c76f6cfad952843d8a5c07e80386f636 to your computer and use it in GitHub Desktop.
My Git Configuration
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = ~/.gitignore_global
[user]
name = Adriano Resende
email = zullcore@gmail.com
[alias]
log = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
[color]
ui = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment