Loading...
Loading...
Fast git worktree manager. Use when the user wants to create, list, switch between, or clean up git worktrees. Handles parallel development workflows, agent isolation, and multi-branch work.
npx skill4agent add kuderr/git-wt git-wtgit-wt~/.git-wt/<repo>/<name>/.gitignoregit-wtgit wt --versiongit wt new # Auto-named (e.g., swift-jade)
git wt new my-feature # Named
git wt new -b main hotfix # Fork from specific branch
git wt new --copy-env experiment # Copy .env* files into worktree
git wt new --no-branch scratch # Detached HEAD (no branch created)cd $(git wt path <name>) # Jump into worktree
git wt open <name> # Open in Cursor/VS Code/$EDITORgit wt list # Worktrees for current repo
git wt list-all # Worktrees across ALL reposgit wt origin # Print main repo path (from any worktree)git wt rm <name> # Remove worktree + delete its branch
git wt clean # Remove ALL worktrees for current repo~/.git-wt/<repo>/<name>/wt/wt/my-featureadjective-nounrm--copy-env.env*originGIT_WT_HOME~/.git-wtGIT_WT_PREFIXwtgit wt newgit wt new --copy-env.env# Agent 1: create isolated worktree
git wt new --copy-env task-auth
# Agent 2: create another
git wt new --copy-env task-api
# Each agent works independently in their worktree
cd $(git wt path task-auth)
# When done
git wt rm task-auth
git wt rm task-api