resolve-merge-conflict
- Run
git status; inspect every file with conflict markers. - Decide per file: normally combine both changes coherently. Show that
resolution to the user and get confirmation before staging. To take a whole
side, use
git checkout --ours <file>orgit checkout --theirs <file>. - Remove markers,
git addeach resolved file, and continue the operation:git rebase --continue,git merge --continue, orgit cherry-pick --continue.
During a rebase, ours is the branch being rebased onto and theirs is the
replayed commit. Inspect content rather than relying on those labels.


