{"version":"2.1.330","anchor":"entering-an-existing-worktree-supports-vcs-copy-working-co","canonical_anchor":"entering-an-existing-worktree-supports-vcs-copy-working-co","heading":"Claude Code will not take over a worktree a mod made, and can enter mod copies","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/entering-an-existing-worktree-supports-vcs-copy-working-co","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Claude Code will not take over a worktree a mod made, and can enter mod copies\n\nCreating a worktree now refuses to reuse one marked as made by a mod, and entering a worktree by path can now pick up a mod's copy\n\n**What**\n\nA worktree is a separate working copy of your project that Claude Code can work in. Two things changed:\n\n- Entering by path: when you enter an existing worktree by its path, Claude Code first checks whether a mod made it as a copy. If so, the session uses hooks (programs that run at set points) to manage it.\n\n- Taking over: when creating a worktree, Claude Code now refuses to take over one marked as made by a mod. It says a mod made the worktree, so Claude Code will not take it over, and asks you to choose a different worktree name.\n\nA marker file named `CLAUDE_MOD_MADE` records that a mod made the worktree. Before, Claude Code only accepted plain git worktrees.\n\n**Why**\n\nThis changes which worktrees a session can enter or reuse. If you see the takeover refusal, pick another worktree name.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}