Create a git worktree and open it in a new terminal with Claude Code
Creates a git worktree and opens it in a new terminal with Claude Code.
/plugin marketplace add himicoswilson/himi-claude-plugins/plugin install git-worktree@himi-plugins[ <branch> | <description> | -b <name> | -p <prefix> | -r <remote> ]Create a git worktree and open Terminal.app with Claude Code.
| Mode | Syntax | Behavior |
|---|---|---|
| Checkout | <branch> | Switch to existing branch |
| Create | -b <name> | Create new branch |
| Describe | "<description>" | Generate branch from description, confirm first |
| Prefix | -p <type> -b <name> | Create with prefix |
| Remote | -r <remote-branch> | Create from remote branch |
| Flag | Description |
|---|---|
-b <name> | Create new branch with name |
-p <type> | Add prefix: f/feature, b/bugfix, h/hotfix, r/release |
-r <branch> | Create from remote branch (auto-fetches) |
| Input | Branch Created |
|---|---|
main | checkout main |
-b login | login |
-p f -b login | feature/login |
"add user auth" | add-user-auth (confirm first) |
-p feat "add login" | feature/add-login (confirm first) |
-r origin/develop | develop (tracks remote) |
${CLAUDE_PLUGIN_ROOT}/scripts/wt-create.sh <args>