Skip to content

[audit] Ignore .claude/ working directory - #337

Draft
stanfish06 wants to merge 1 commit into
masterfrom
claude/beautiful-hypatia-26cuvn
Draft

stanfish06 wants to merge 1 commit into
masterfrom
claude/beautiful-hypatia-26cuvn

Conversation

@stanfish06

Copy link
Copy Markdown
Owner

What

Adds .claude/ to .gitignore.

Where

.gitignore

Why it matters

Claude Code's own scratch state (agent git worktrees, local session settings) lives under .claude/ in the repo root. It was showing up as untracked files during a scheduled audit session, which isn't project content and shouldn't be tracked or committed.

Recommended action (applied)

One-line addition: .claude/ alongside the existing pack/ entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_019LFuDqrXyPqgBPwWcbd6Kr


Generated by Claude Code

Claude Code's scratch state (agent worktrees, local settings) was
showing up as untracked files; it doesn't belong in the repo.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019LFuDqrXyPqgBPwWcbd6Kr
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.

2 participants