Is there a way to resolve conflict for all files using checkout --ours
and --theirs
? I know that you can do it for individual files but couldn\'t f
In case anyone else is looking to simply overwrite everything from one branch (say master) with the contents of another, there's an easier way:
git merge origin/master --strategy=ours
Thanks to https://stackoverflow.com/a/1295232/560114
Or for the other way around, see Is there a "theirs" version of "git merge -s ours"?