Skip to content

Instantly share code, notes, and snippets.

View tomdwp's full-sized avatar

Tom Daggett tomdwp

View GitHub Profile
@tomdwp
tomdwp / .gitconfig
Last active October 14, 2021 05:33 — forked from samsalisbury/.gitconfig
Git diff and merge with p4merge (macOS)
[merge]
keepBackup = false
tool = p4merge
[mergetool "p4merge"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "\"$PWD/$BASE\"" "\"$PWD/$REMOTE\"" "\"$PWD/$LOCAL\"" "\"$PWD/$MERGED\""
keepTemporaries = false
trustExitCode = false
keepBackup = false
[diff]
tool = p4merge
@tomdwp
tomdwp / gist:561051943a69e334cc8d7694bb56eebd
Last active November 14, 2017 18:13 — forked from philstrong/gist:83bd14a85f7bebf7fc01
Setting up GIT Bash autocompletion. Use this only if you are using Bash instead of ZSH.