Skip to content

Instantly share code, notes, and snippets.

@josephj
Last active August 29, 2015 14:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephj/2628e309bab2ed0a10b8 to your computer and use it in GitHub Desktop.
Save josephj/2628e309bab2ed0a10b8 to your computer and use it in GitHub Desktop.
Basic .gitconfig file
[alias]
st = status
br = branch
ci = commit
cp = cherry-pick
co = checkout
sub = submodule
[diff]
color = auto
external = /Users/$USER/git_diff_wrapper
[pager]
diff =
[color]
diff = auto
status = auto
branch = auto
ui = auto
[status]
color = auto
[branch]
color = auto
[merge]
tool = araxismerge
[mergetool "araxismerge"]
cmd = "/usr/bin/compare -3 -merge -wait $LOCAL $BASE $REMOTE $MERGED"
path = /usr/bin/
[http]
sslverify = false
[push]
default = current
[core]
editor = /usr/bin/vim
#!/bin/sh
vimdiff "$2" "$5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment