Skip to content

Instantly share code, notes, and snippets.

@mstapp
Created February 12, 2014 18:16
Show Gist options
  • Save mstapp/8961354 to your computer and use it in GitHub Desktop.
Save mstapp/8961354 to your computer and use it in GitHub Desktop.
My .gitconfig settings on OS X
#
# My common settings for Mac
# Currently using Sublime editor, perforce p4merge
[user]
name = Mike Stapp
email = xxx@xxx
[core]
editor = subl -n -w
OLD_vim_editor = /Applications/MacVim.app/Contents/MacOS/Vim -g -f
OLD_bbedit_editor = bbedit --wait --resume
autocrlf = input
[merge]
keepBackup = false;
tool = custom
conflictstyle = diff3
[mergetool "custom"]
cmd = /Applications/Utilities/p4merge.app/Contents/MacOS/p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
[extdiff]
external = p4diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment