For a simple list git diff --name-only --diff-filter=U For all conflict places in a list git ls-files -u