git open all files with merge conflicts

git diff --name-only | uniq | xargs subl

I found it useful to create an alias too:

git config --global alias.mc \
'!sh -c "git diff --name-only | uniq | xargs subl"'

And of course you can substitute subl for your favorite editor.

守: Follow the rules.

破: Break the rules.

離: Make your own rules.