Skip to content

Commit 6b24a59

Browse files
catomeanMao Nakamotoclaude
authored
chore: ignore per-session worktrees (#2)
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: Mao Nakamoto <georgy.butaev@revamp-it.ch> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 743c8f6 commit 6b24a59

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)