fix(core/git-worktree): gate target cache mirroring

This commit is contained in:
James Peter
2025-10-05 10:38:55 +10:00
parent 2468d5b461
commit 3fbc0c9e7b
2 changed files with 16 additions and 2 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ Notes
previous Code snapshot and optionally rewind the conversation to that point.
- `/branch [task]`: create a worktree branch and switch to it. If a
task/description is provided, it is used when naming the branch. Must be run
from the repository root (not inside another branch worktree).
from the repository root (not inside another branch worktree). By default it
only mirrors `node_modules`; set `CODEX_BRANCH_COPY_TARGETS=1` to also copy
Rust build caches into the worktree.
- `/merge`: merge the current worktree branch back into the default branch and
remove the worktree. Run this from inside the worktree created by `/branch`.
- `/review [focus]`: without arguments, opens a review picker so you can audit