6

I'm doing a cherry-pick for a large commit with multiple files. There are some conflicts, but for some of the conflicting files I'm sure that I don't need any of the changes. I'd just like to revert all changes applied to these files in that commit - a bit like 'resolve using mine' in svn, or git checkout <filename> to undo changes applied to a file (which doesn't seem to work here).

Is there a command to do this, without manually having to go through the diffs in these files?

FFR, feel free to also include the operation to resolve using theirs.

Vincent Sels
  • 2,711
  • 1
  • 24
  • 31

0 Answers0