Is there a git hook I can use for merge conflicts? After a failed git merge
, it would be great to be able to write a script that opens all files with conflicts in $EDITOR
. Unfortunately the post-merge
hook doesn't run if there are conflicts and from what I've seen in the githooks
man page, there are no other applicable hooks.
I'm wondering if I've missed something, or if there are other alternatives short of aliasing 'git merge' to a function or something like that.
Thanks, Chris