{"version":"2.1.105","anchor":"enter-existing-worktrees","canonical_anchor":"enter-existing-worktrees","heading":"Enter Existing Worktrees","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.105\/e\/enter-existing-worktrees","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.105","markdown":"### Enter Existing Worktrees\n\n**What**\n\nThe `EnterWorktree` tool now accepts a `path` parameter to switch into an existing linked worktree instead of always creating a new one.\n\n**Usage**\n\n`\/worktree # create a new worktree (existing behavior) # or, via the model: EnterWorktree(path: \"\/path\/to\/existing-worktree\")` **Details** - The `path` must be a registered worktree of the current repo (shown by `git worktree list`) - Mutually exclusive with the `name` parameter \u2014 specify one or the other - A safety check prevents removing worktrees that were entered (not created) by `EnterWorktree` - The exit flow returns you to the original working directory - New UI messages: \"Entering worktree\", \"Cleaning up worktree (no pending changes)\u2026\", \"This session entered an existing worktree\" **Evidence** Worktree `path` parameter (search for `\"Path to an existing worktree\"`) and enter-existing safety check (search for `\"enteredExisting\"`)"}