In a merge conflict, I try to resolve all merge conflicts in favor of a particular branch.
I try to do git checkout --ours
, but I get the following error:
fatal: '--ours/--theirs' cannot be used with switching branches
How can I achieve what I am trying to do?
source share