gh-wt
Worktree Manager

Manage git worktrees from GitHub PRs, Issues, and local branches.
Built for developers who work in the terminal.

$ gh extension install ffalor/gh-wt

See It In Action

$ gh wt run example -- "task fmt"

Run a command in a worktree

bash — gh-wt
$ gh wt run example -- "task fmt"
$

Capabilities

Actions

Reusable actions with template variables like {{.BranchName}}. Run with -a on create or run.

Run

Execute actions or run any command in a worktree without needing to switch directories.

Pull Requests

Create a worktree from any PR URL with a single command.

?

Issues

Spin up a worktree from any issue URL to start working on a fix.