Worktree New banner
igerber igerber

Worktree New

Git community

Description

--- description: Create a new git worktree with full dev environment for parallel work argument-hint: "<name> [base-branch]" --- # Create Git Worktree Create an isolated worktree for parallel development. Arguments: $ARGUMENTS ## Instructions ### 1. Parse Arguments Parse `$ARGUMENTS` to extract: - **name** (required): First argument — used as both directory suffix and branch name - **base-ref** (optional): Second argument — existing branch, tag, or ref to branch from (creates branch `<nam

Installation

Installs to ~/.claude/commands/igerber-diff-diff-worktree-new.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/igerber/diff-diff/HEAD/.claude/commands/worktree-new.md -o ~/.claude/commands/igerber-diff-diff-worktree-new.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository