{"version":"2.1.326","anchor":"enterworktree-adds-a-sandbox-note-worktree-shows-a-setup","canonical_anchor":"enterworktree-adds-a-sandbox-note-worktree-shows-a-setup","heading":"--worktree shows a setup message, and entering a worktree adds a sandbox note","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/enterworktree-adds-a-sandbox-note-worktree-shows-a-setup","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### --worktree shows a setup message, and entering a worktree adds a sandbox note\n\nStarting with `--worktree` now shows a \"Setting up worktree\" line, and entering a worktree adds a note about the sandbox\n\n**What**\n\nA git worktree is a separate working copy of your repository. When you start Claude Code with `--worktree` in a terminal and setup takes a moment, it now prints a dim \"Setting up worktree\" line.\n\nWhen Claude moves into a worktree, the result it gets back now includes a note about the sandbox, the restricted environment that limits what commands can touch. The error for running outside a git repository can also now show a different hint.\n\n**Why**\n\nSlow worktree setup at startup now shows progress instead of looking stuck.\n\n- Area: Worktrees\n- Names: `--worktree`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}