dillon1000/react

Commit

Add worktree script (#35593)

Intended to be used directly and/or from skills in an agent.

Usage is `./scripts/worktree.sh [--compiler] [--claude] <name>`. The
script:
* Checks that ./worktrees is in gitignore
* Checks the named worktree does not exist yet
* Creates the named worktree in ./worktrees/
* Installs deps
* cds into the worktree (optionally the compiler dir if `--compiler`)
* optionally runs claude in the worktree if `--claude`
Browse files
Changed paths2 files
First-parent comparison
M .gitignore ModifiedA scripts/worktree.sh Added
Patch

Files changed

Rendering syntax-highlighted changes…