Feature Request
Add a wt pr command that creates a pull request from the current worktree's branch to the main branch.
Proposed Usage
# From within a worktree
wt pr # Create PR to default base branch
wt pr --base develop # Create PR to specific base branch
wt pr --draft # Create as draft PR
Motivation
When working with worktrees, a common workflow is:
wt add <name> - create worktree
- Make changes and commit
- Create PR (currently requires manual
gh pr create or web UI)
wt merge <name> / wt rm <name>
Adding wt pr would streamline step 3 and keep the workflow within wt.
Implementation Notes
- Could wrap
gh pr create if available
- Auto-detect base branch from config or default branch
- Support common PR options (title, body, draft, reviewers)
Feature Request
Add a
wt prcommand that creates a pull request from the current worktree's branch to the main branch.Proposed Usage
Motivation
When working with worktrees, a common workflow is:
wt add <name>- create worktreegh pr createor web UI)wt merge <name>/wt rm <name>Adding
wt prwould streamline step 3 and keep the workflow withinwt.Implementation Notes
gh pr createif available