SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

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`
J
Joseph Savona committed
6a0ab4d2dd62dfdf8881ba1c3443c6d5acedc871
Parent: 03ee29d
Committed by GitHub <[email protected]> on 1/22/2026, 6:38:37 AM