{"version":"2.1.330","anchor":"profile-warning-about-git-worktrees","canonical_anchor":"profile-warning-about-git-worktrees","heading":"Warning that git worktrees can make a list grow without limit","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/profile-warning-about-git-worktrees","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Warning that git worktrees can make a list grow without limit\n\nClaude Code now warns that registered git worktrees keep growing a list, and suggests removing and pruning them, then restarting\n\n**Unclear.** Which list this warning is about, and when Claude Code shows it, is not stated.\n\n**What**\n\nA git worktree is an extra copy of a repository checked out in a different folder. A piece of text that used to be only an internal label is now a warning. It says that some entries in a list belong to registered git worktrees, and that these make the list grow without bound. It suggests these steps, from another terminal:\n\n- run `git worktree remove` for worktrees you no longer need\n\n- run `git worktree prune`\n\n- restart Claude Code\n\n**Why**\n\nIf you create many worktrees, this tells you how to clear old ones so the list stops growing.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}