fix(core/git_worktree): restore cache mirror toggle

This commit is contained in:
James Peter
2025-10-05 12:02:23 +10:00
parent e293560dd6
commit 627b9cc809
2 changed files with 28 additions and 13 deletions
+3 -2
View File
@@ -30,8 +30,9 @@ Notes
- `/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). Set
`CODEX_BRANCH_COPY_CACHES=1` to mirror `node_modules` and Rust build caches
into the worktree; otherwise no cache directories are copied automatically.
`CODE_BRANCH_COPY_CACHES=1` (legacy: `CODEX_BRANCH_COPY_CACHES=1`) to mirror
`node_modules` and Rust build caches into the worktree; otherwise no cache
directories are copied automatically.
- `/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