Skip to content

Instantly share code, notes, and snippets.

@flevour
Created October 10, 2012 14:11
Show Gist options
  • Save flevour/3865873 to your computer and use it in GitHub Desktop.
Save flevour/3865873 to your computer and use it in GitHub Desktop.
[alias]
st = status
br = branch
co = checkout
unstage = reset HEAD
# http://www.jukie.net/bart/blog/git-amend
amend = commit --amend -C HEAD
[color]
ui = auto
[rerere]
enabled = 1
[core]
excludesfile = /Users/flevour/.gitignore_global
autocrlf = input
[merge]
tool = diffmerge
[mergetool "diffmerge"]
cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\""
trustExitCode = true
[diff]
tool = diffmerge
[difftool "diffmerge"]
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment