Git alias:
add-unmerged = !"f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `grave;f`grave;"
Example:
git add-unmerged
Compare:
Compare corresponding aliases for edit-*: