From: Andrey Butirsky Date: Mon, 27 Dec 2021 12:52:03 GMT Subject: request: allow passing -X to git checkout to auto-solve merge conflicts Message-ID: <3e1548ab-5e20-9555-bd10-d6cbf2ffbce4@gmail.com> Hi, stumbling upon this again and again, so decided to write finally, while in conflicting state, the only thing we can do to auto-pick one or another side of conflict is passing --ours/--theirs option to git-checkout: git checkout --ours/--theirs The problem is - it doesn't actually do a _merge_, i.e. you lose all non-conflicted changes. There is no easy way to solve that currently without third-party tools. This link illustrates it: https://stackoverflow.com/a/68498101/1063363 Proposal: Shell we add -X to git checkout to allow it do a merge and _actually solve_ merge conflicts? That would be in-pair with other commands taking the option already: git-merge, git-rebase, (etc.?)