While viewing the changed files during a merge, they appear in the "Staged files" panel (I am configured to view the changed files in "Split-View Staging"). If they are not yet staged, then click the "Stage All" button. Chose to view the files in this panel as "TreeView". Expand the tree's branches. Then collapse a branch. When you collapse the branch a git command is executed to unstage those staged files.