worktreepr
v1.0.4
Published
Easy PR fetch with github worktrees
Downloads
20
Readme
Git Worktree PR
Description
Easy GitHub Pull Requests as worktree. Creating worktree and fetching the pull request in one single command.
Usage
> 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
Options
- Set worktree name (optional):
npx worktree pull-request-number worktree-name
, for examplenpx worktree 32 jcger/fix-tests
Preconditions
- Your repo must be ready to use worktrees
- https://cli.github.com/ must be installed