Skip to content

chore: ignore .claude/ with a tracked line - #59

Open
scttbnsn wants to merge 1 commit into
devfrom
chore/gitignore-claude
Open

chore: ignore .claude/ with a tracked line#59
scttbnsn wants to merge 1 commit into
devfrom
chore/gitignore-claude

Conversation

@scttbnsn

Copy link
Copy Markdown
Collaborator

.claude/ was covered only by a local .git/info/exclude on one machine, which protects that clone and nobody else. A tracked line protects everyone.

Without it, git add -A in the parent checkout stages a nested agent worktree as an embedded gitlink instead of as files, and git clean -ffd deletes the worktree outright. Both demonstrated, not theorised.

Nothing under .claude/ is tracked here, so the bare form is safe. House standard: codeswhat-ops/standards/worktrees.md.

It was covered only by .git/info/exclude, which protects one clone and nobody else's. Without a tracked line, `git add -A` in the parent stages a nested worktree as an embedded gitlink and `git clean -ffd` deletes it.
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codeswhat-website Ready Ready Preview Aug 23, 2026 8:17pm

@scttbnsn

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant