While merging some of the files failed to merge.
git status
shows both the successful and failed merges.
How to view only the unsuccessful merge files(conflict).
Currently i am using the following command to do this
find . -name '*.cpp' -o -name '*.h' | xargs grep -l '<<<<'
git diff --name-only --diff-filter=U. This way you can pipe the output, for example dogit diff --name-only --diff-filter=U | xargs subl. – JHannes Oct 21 '15 at 12:21