Skip to content

chore: ignore .claude/ directory#25

Merged
odysa merged 1 commit into
mainfrom
chore/ignore-claude-dir
Apr 21, 2026
Merged

chore: ignore .claude/ directory#25
odysa merged 1 commit into
mainfrom
chore/ignore-claude-dir

Conversation

@odysa

@odysa odysa commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .claude/ to .gitignore. Claude Code writes per-session scratch state (agent worktrees under .claude/worktrees/, local settings) there, none of which should land in the repo.

Test plan

  • git status on a fresh Claude Code session shows no .claude/ entry
  • git check-ignore -v .claude/worktrees/foo resolves to the new .gitignore rule

Claude Code writes per-session scratch state (agent worktrees, local
settings) into .claude/. None of it is meant to be shared across the
repo, so ignore the whole directory.
@odysa odysa merged commit 3bb662c into main Apr 21, 2026
2 checks passed
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