
Diagnoses and works around gh pr merge failing on a 'main already used by worktree' error
- Open source
- 5 GitHub stars
- Developer tools


Diagnoses and works around gh pr merge failing on a 'main already used by worktree' error

Guides an agent through writing PR titles, bodies and gh CLI pull request steps

Finish someone else's draft PR on a designated branch without losing its commits

Diagnoses CI failures caused by GitHub's merge-ref checkout on pull requests

Diagnoses stuck gh pr merge errors and restores deleted PR branches safely

Works through PR review comments and failing CI checks, fixing and replying with evidence

Diagnoses failing PR checks and iterates on focused fixes until CI is green

Catches docs PRs that accidentally carry a parent feature branch's code

Diagnoses failing GitHub Actions PR checks and fixes them only after you approve a plan

Turns a finished branch or a fix left on main into a guarded, linked pull request

Keeps no-Bash review subagents from stalling by pre-building PR diffs and worktrees

Stops agents misreading a by-design red CI check as a failed pull request

Makes a PR easier to review by tidying history, descriptions and reviewer notes

Lands an open GitHub PR: waits for CI, fixes blockers, squash-merges, cleans up

Gives your agent a git and GitHub workflow for branches, commits, PRs and issues
The closest alternatives to Gh PR create orchestration cwd wrong head are Gh PR merge worktree checkout trap, Git PR, Gh PR pickup designated branch supersede, Gha PR merge ref shows upstream changes and Gh PR merge unstable state needs auto and watch branch deletes.
Yes. Gh PR merge worktree checkout trap, Git PR, Gh PR pickup designated branch supersede have a free or open-source option.