Skip to content

Instantly share code, notes, and snippets.

@clamstew
Forked from marc-hughes/.gitconfig
Created February 28, 2017 20:23
Show Gist options
  • Save clamstew/69e85fcd993a8128c1703ed52721af83 to your computer and use it in GitHub Desktop.
Save clamstew/69e85fcd993a8128c1703ed52721af83 to your computer and use it in GitHub Desktop.
[alias]
cleanfeature = branch --merged | grep "feature/" | xargs -n 1 git branch -d
[merge]
tool = p4mergetool
renameLimit = 8000
[mergetool "p4mergetool"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge $PWD/$BASE $PWD/$REMOTE $PWD/$LOCAL $PWD/$MERGED
trustExitCode = false
[mergetool]
keepBackup = false
[diff]
tool = p4merge
[difftool "p4mergetool"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge $LOCAL $REMOTE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment