Skip to content

Instantly share code, notes, and snippets.

@atuttle
Last active December 16, 2015 02:59
Show Gist options
  • Save atuttle/5366693 to your computer and use it in GitHub Desktop.
Save atuttle/5366693 to your computer and use it in GitHub Desktop.
my .gitconfig
[user]
name = Adam Tuttle
email = adam@fusiongrokker.com
[color]
ui = auto
[core]
autocrlf = input
excludesfile = /Users/adam/.gitignore_global
[push]
default = tracking
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[alias]
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment