{"version":"2.1.336","anchor":"worktree-creation-hardening-and-keep-check-abort-signal","canonical_anchor":"worktree-creation-hardening-and-keep-check-abort-signal","heading":"Worktree setup is harder for other commands to interfere with","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/worktree-creation-hardening-and-keep-check-abort-signal","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Worktree setup is harder for other commands to interfere with\n\nCreating git worktrees is now more robust, with steps that can be cancelled and a setup step that ignores symbolic links.\n\n**What**\n\nA worktree is a separate copy of your git project folder that Claude Code can work in. How Claude Code creates and manages them has changed:\n\n- Its git steps can now be cancelled partway.\n\n- The step that sets up git's local ignore list now works through a folder that is fixed in place and refuses to follow symbolic links, which are shortcuts pointing to other locations.\n\n- The note explaining why a worktree is locked is now built differently.\n\n**Why**\n\nThis makes worktree handling more robust against a command running in the sandbox, a restricted environment, changing the `.claude\/worktrees` folder.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}