どちらかのブランチのファイルを選択して、競合を解消する
例えば、masterブランチにfooブランチをマージしたとき
$ git checkout master $ git merge foo
masterブランチのファイルを選択
$ git checkout --ours path-to-conflicted-file
fooブランチのファイルを選択
$ git checkout --theirs path-to-conflicted-file
例えば、masterブランチにfooブランチをマージしたとき
$ git checkout master $ git merge foo
masterブランチのファイルを選択
$ git checkout --ours path-to-conflicted-file
fooブランチのファイルを選択
$ git checkout --theirs path-to-conflicted-file