Skip to main content

magic-merge-commit

Stars7
Forks1
UpdatedMay 18, 2026 at 22:05

Fix a Git merge conflict caused by a squash-merged base branch. Use when a PR can't merge `main` cleanly because its base branch was squash-merged, and Git sees the old commits as conflicting with the squashed commit in `main`. Creates a "magic" merge commit linking the branch to the squashed history.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly