You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workingclaude-codeClaude Code (Anthropic CLI) issuesdocumentationImprovements or additions to documentationstaleNo activity for 60+ daysworktreesRetired: use skill:using-git-worktrees
@jasonkuhrt I've tried to check this issue myself. My feature branch is checked into the project directory, under .worktrees. I've asked something specific about that branch and I don't see CLAUDE.md to be read twice. I am not sure (quick search does not confirm that) but maybe CLAUDE.md is ignored in directories that are placed under .gitignore?
Thanks for the report. We’re closing this because the current worktree guidance intentionally favors project-local .worktrees/, and later discussion did not confirm that Claude Code still double-loads parent/worktree instructions in a way we can reproduce and fix here.
If this still reproduces on a current Claude Code release, please open a fresh issue with the exact directory layout, .gitignore state, /memory output, and Claude Code version.
bugSomething isn't workingclaude-codeClaude Code (Anthropic CLI) issuesdocumentationImprovements or additions to documentationstaleNo activity for 60+ daysworktreesRetired: use skill:using-git-worktrees
Activity
pySilver commentedon Jan 22, 2026
@jasonkuhrt I've tried to check this issue myself. My feature branch is checked into the project directory, under
.worktrees. I've asked something specific about that branch and I don't seeCLAUDE.mdto be read twice. I am not sure (quick search does not confirm that) but maybe CLAUDE.md is ignored in directories that are placed under.gitignore?feat(using-git-worktrees): rework to layer on native EnterWorktree
feat(using-git-worktrees): rework to layer on native EnterWorktree
fix(using-git-worktrees): default to global worktree location to avoi…
feat(using-git-worktrees): rework to layer on native EnterWorktree
arittr commentedon May 11, 2026
Thanks for the report. We’re closing this because the current worktree guidance intentionally favors project-local
.worktrees/, and later discussion did not confirm that Claude Code still double-loads parent/worktree instructions in a way we can reproduce and fix here.If this still reproduces on a current Claude Code release, please open a fresh issue with the exact directory layout,
.gitignorestate,/memoryoutput, and Claude Code version.