Skip to content

Instantly share code, notes, and snippets.

@atuttle atuttle/.gitconfig
Created Mar 9, 2016

What would you like to do?
My ~/.gitconfig (with sensitive portions removed)
ui = auto
autocrlf = input
excludesfile = /Users/atcodes/.gitignore_global
default = tracking
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr,%an)%Creset' --abbrev-commit --date=relative
st = status -sb
ignored = ls-files --others -i --exclude-standard
unstage = reset HEAD
df = diff --color-words
yolo = !git add -A . && git commit -m "YOLO" && git push origin master
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/ \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.