git show conflicts code example
Example 1: show conflcited files
git diff --name-only --diff-filter=U
Example 2: git Automatic merge failed; fix conflicts and then commit the result
$ git status
$ git add .
$ git commit -a "Comment"
git diff --name-only --diff-filter=U
$ git status
$ git add .
$ git commit -a "Comment"