I know how to merge modification using vimdiff, but, assuming I just know that the entire file is good to keep or to throw away, how do I do that?
I don\'t want to
You can as well do:
git checkout --theirs /path/to/file
to keep the remote file, and:
git checkout --ours /path/to/file
to keep local file.
Then git add them and everything is done.
Edition:
Keep in mind that this is for a merge scenario. During a rebase --theirs refers to the branch where you've been working.