What’s the simplest way to list conflicted files in Git?
Use git diff, with name-only to show only the names, and diff-filter=U to only include ‘Unmerged’ files (optionally, relative to show paths relative to current working directory) . git diff –name-only –diff-filter=U –relative