Git Merge Recursive Ours - コマンド構文例 質問する

Git Merge Recursive Ours - コマンド構文例 質問する

再帰的な ours 戦略を使用した git マージの適切な形式は何ですか? (git merge ours 戦略と混同しないでください)

git のマージ

いろいろな方法を試しましたが、うまくいかないようです。

git merge foo -s recursive-ours  // doesn't work
git merge foo -s recursive ours // doesn't work
git merge foo -s recursive -ours // doesn't work
...

ベストアンサー1

git merge -s recursive -X ours foo

おすすめ記事