gh vibe review
Fetches the PR’s head branch (handling fork PRs by namespacing them under
pr/<number>/<branch>) and creates a vibe
worktree via vibe start --reuse.
gh vibe review <PR# | URL>Both forms are accepted:
gh vibe review 123gh vibe review https://github.com/owner/repo/pull/123--dry-run
Section titled “--dry-run”Prints what would happen — the resolved branch, the fetch command, and the
vibe start invocation — without making any changes.
gh vibe review 123 --dry-runRequirements
Section titled “Requirements”gh,git, andvibeavailable inPATH.- Run from inside a git repository whose default remote (
origin) points at the PR’s base repo. Fork PRs are fetched into a namespaced ref (pr/<number>/<branch>) so they cannot collide with upstream branches.
What it does
Section titled “What it does”- Resolves the PR via
gh pr view(number or URL accepted). - Determines the head branch and whether the PR comes from a fork.
git fetches the head branch (underpr/<number>/<branch>for forks).- Hands off to
vibe start --reuse <branch>to create or update the worktree.
Pair this with gh vibe shell-setup so that your
shell cds into the worktree on success.