Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Jun 10:34

New Features

Checkout PR into a worktree

A new palette-only Checkout PR command. Open the command palette (Ctrl+P) and run Checkout PR to open a centered picker that loads up to 200 pull requests via gh pr list --state all, sorted by most recently updated (open, draft, merged, and closed).

  • Type to filter by PR number, title, URL, owner, head branch, or local branch name.
  • / or k/j move the highlighted PR.
  • Enter checks out the PR into a worktree:
    • Existing non-prunable worktree for the branch → cd into it immediately.
    • Existing local branch without a worktree → git worktree add <path> <branch> using the normal path template, then the usual post-create steps.
    • New PR branch → git fetch origin pull/<number>/head, then git worktree add -b <branch> <path> FETCH_HEAD, then post-create steps.
    • On success the app cds into the worktree and exits.
  • Same-repo PRs use headRefName; fork PRs use <owner>/<headRefName>.
  • o opens the highlighted PR in the browser (gh pr view <number> --web). If the input is a PR URL or number not in the list, Enter/o act on it directly.
  • Esc closes the picker. There is no global keybinding for this flow.
  • Existing local branch reuse does not force-update the branch from the PR head.

Documentation

  • Reorganized the behavior spec into docs/architecture.md plus per-feature docs under docs/features/, replacing the single docs/spec.md, and added a documentation policy.