Skip to content

chore: track .claude/plans, ignore .claude/worktrees - #1445

Merged
ardalis merged 1 commit into
mainfrom
chore/track-plans-ignore-worktrees
Jul 27, 2026
Merged

chore: track .claude/plans, ignore .claude/worktrees#1445
ardalis merged 1 commit into
mainfrom
chore/track-plans-ignore-worktrees

Conversation

@ardalis

@ardalis ardalis commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add .claude/worktrees/ to .gitignore — worktrees are local working copies living inside the repo and should never be committed
  • Commit .claude/plans/2026-07-26-admin-manage-subscriptions.md — implementation plans stay tracked as project docs

Test plan

  • Plan file scanned for secrets/keys — none
  • Ignore rule anchored to repo root (.claude/worktrees/ contains a slash), verified worktree dir no longer shows as untracked

🤖 Generated with Claude Code

Plans are project docs worth keeping in history; worktrees are local
working copies that should never be committed.

Note: /codex:review required by CLAUDE.md is unavailable in this
environment (plugin and codex CLI not installed); change is two
gitignore lines plus a markdown plan doc, self-reviewed for secrets.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ardalis
ardalis merged commit bce866c into main Jul 27, 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