⚠️ ⚠️ ⚠️ ⚠️ Feel free to use this repo, but as long as gh-cli doesn't work with worktrees I'd recommend an extension like https://github.com/jcger/gh-worktree
Easy GitHub Pull Requests as worktree. Creating worktree and fetching the pull request in one single command.
> npx worktreepr pull-request-number
For example npx worktreepr 45
Pull request number can be found in a Pull Request url or title. Check screenshot
- Set worktree name (optional):
npx worktree pull-request-number worktree-name
, for examplenpx worktree 32 jcger/fix-tests
- Your repo must be ready to use worktrees
- https://cli.github.com/ must be installed