{"version":"2.1.337","anchor":"worktree-creation-untrusted-error-points-at-the-right-repo-r","canonical_anchor":"worktree-creation-untrusted-error-points-at-the-right-repo-r","heading":"Untrusted-repository error for worktrees names the main repository folder","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/worktree-creation-untrusted-error-points-at-the-right-repo-r","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Untrusted-repository error for worktrees names the main repository folder\n\nWhen a worktree can't be made because the repository isn't trusted, the error now names the main repository folder, not the worktree path\n\n**What**\n\nA worktree is an extra working folder linked to the same git repository. Claude Code refuses to make one in a repository you have not marked as trusted. When the folder you pointed at and the repository's main folder differ, the error message now names the main folder rather than the path you passed.\n\n**Why**\n\nThe message now points at the folder you actually need to trust.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}