Skip to content

Commit 12a7cea

Browse files
Mao Nakamotoclaude
andcommitted
chore: ignore per-session worktrees
A worktree under .claude/ is a full copy of the repo, dist/ included. Left untracked it gets picked up as source — in ai-forms an identical setup made the lint gate report 10 errors that were all in a stale worktree, and blocked a release for reasons that had nothing to do with the code being released. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent c62d5bf commit 12a7cea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
node_modules/
22
dist/
33
*.tgz
4+
# Per-session git worktrees. Never lint, test, or publish from these — a stale
5+
# copy of the repo here is otherwise picked up as if it were source.
6+
.claude/

0 commit comments

Comments
 (0)