Skip to content

Instantly share code, notes, and snippets.

@KrofDrakula
Created September 25, 2014 20:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save KrofDrakula/9e4a880cf58bf6fb4444 to your computer and use it in GitHub Desktop.
Explicit merge conflicts for specific path
DBBuild.php merge=merge-and-verify
[merge "merge-and-verify"]
name = Merge and verify file
driver = ./bin/git-merge-and-verify %A %O %B
#!/bin/bash
git merge-file "${1}" "${2}" "${3}"
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment