Comment faire 'git checkout --les leurs", pour plusieurs fichiers (ou tous les fichiers non mergés)

Dire que j'ai ce après avoir tenté une fusion et à l'entrée git status:

# Unmerged paths:
#   (use "git add/rm <file>..." as appropriate to mark resolution)
#
#   added by them: myfile1.xhtml
#   added by them: myfile2.xhtml
#   added by them: myfile3.xhtml

... et je sais que je veux le faire pour chacun de ces fichiers:

git checkout --theirs myfile1.xhtml
git add myfile1.xhtml

... mais il y en a beaucoup. Comment pourrais-je faire comme lot?

OriginalL'auteur isherwood | 2014-07-23