Accept all merge conflicts in git

Posted by Micah on Stack Overflow See other posts from Stack Overflow or by Micah
Published on 2010-05-12T20:06:38Z Indexed on 2010/05/12 20:14 UTC
Read the original article Hit count: 162

Filed under:
|

I'm trying to do a merge and there's a bunch of conflicts. It's all generated files so what I want to do is basically say "ignore all merge conflicts, and check everything in from my own repo".

I've tried

git checkout . --ours
git add -A
git com -a

It gives me an error though because there are still files in the "unmerged paths" bucket. How do I handle this?

Thanks!

© Stack Overflow or respective owner

Related posts about git

Related posts about merge