Git Merge Conflicts

MUST USE when a git merge, rebase, cherry-pick, stash pop, or revert stops with conflicts — 'CONFLICT (content)', 'Automatic merge failed', 'could not apply', unmerged paths, or leftover <<<<<<< markers in a file. Enforces resolve-by-intent: read both sides against the merge base, keep both behaviours where they are compatible, and never pick a side wholesale. Also covers the inverted meaning of ours/theirs during a rebase, conflicts git does not mark (semantic and tree), lockfiles and migrations that are regenerated rather than merged, and finishing the merge.

Spardutti Updated

File contents

Spardutti/claude-skills/tree/main/skills/git-merge-conflicts commit dab55e6f0b

Frequently asked questions

npx skillmds@latest add spardutti/git-merge-conflicts