From create-worktrees
Creates git worktrees for all open PRs or specific branches, handling names with slashes. Also cleans up stale worktrees and supports interactive custom branch creation.
npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin create-worktrees# Git Worktree Commands This documentation provides two main bash scripts for Git worktree management: ## 1. Create Worktrees for All Open PRs - Uses GitHub CLI to fetch open pull requests - Creates git worktrees for each PR branch - Handles branch names with slashes - Includes an optional cleanup script for stale worktrees ## 2. Interactive Branch and Worktree Creation - Prompts for a new branch name - Validates branch name - Creates a worktree in a `./tree/` directory - Supports creating branches from different base commits ## Key Features - Error handling - Directory management - Fle...
/create-worktreesCreates git worktrees for all open PRs or specific branches, handling names with slashes. Also cleans up stale worktrees and supports interactive custom branch creation.
/create-worktreesCreates git worktrees for all open PRs in ./tree/<branch> directories using GitHub CLI. Also creates new branch worktrees and cleans up stale ones.
/worktreeCreates git worktrees for parallel development on multiple branches: accepts branch/base args, copies configs, installs deps, lists existing, removes/prunes.
/vt-worktreeCreates, removes, lists, or cleans git worktrees for branches to enable parallel development without switching. Verifies creation, checks uncommitted changes and in-progress work.
/worktreeCreates an isolated git worktree in .worktrees/<name> based on main, current, or specified branch. Ensures .worktrees/ is git-ignored and lists all worktrees.
Share bugs, ideas, or general feedback.
This documentation provides two main bash scripts for Git worktree management:
./tree/ directory