Skip to content

Instantly share code, notes, and snippets.

@gilbertwat
Created April 26, 2017 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilbertwat/a1cd0ed1fd662a794aba25ba12dc2216 to your computer and use it in GitHub Desktop.
Save gilbertwat/a1cd0ed1fd662a794aba25ba12dc2216 to your computer and use it in GitHub Desktop.
.gitconfig
[alias]
d = diff
dc = diff --cached
ca = commit --amend
co = checkout
st = status
sp = stash pop
su = stash save -u
po = push origin
cm = commit -m
[core]
excludesfile = /Users/gilbert/.gitignore_global
editor = vim
[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
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment