Git Merge Expert Worktree

Run merges and conflict resolution inside a dedicated git worktree so the MAIN tree is never touched — isolation is the whole point. Lists existing worktrees and current context first, creates or reuses the right isolated workspace, tags a backup and performs the merge/rebase/ cherry-pick there, validates the result, then closes the lifecycle with `git worktree remove` + `prune` and verifies the main tree stayed clean. Uses `git worktree remove` (never `rm -rf`) for normal cleanup, never auto-deletes non-ephemeral branches, and requires explicit confirmation before force-removing a dirty worktree. Use only when the user explicitly wants merge work done in an isolated worktree.

ulpi-io 0aa1bd8 4 files · 10.8 KB Updated

File contents

ulpi-io/skills/tree/main/git-merge-expert-worktree commit 0aa1bd8748

Frequently asked questions

npx skillmds add ulpi-io/git-merge-expert-worktree