Skip to content

chore: ignore agent worktrees under .claude/worktrees/ - #133

Merged
V3RON merged 1 commit into
mainfrom
claude/adr-0005-handoff-e2e-7mveif
Sep 9, 2026
Merged

V3RON merged 1 commit into
mainfrom
claude/adr-0005-handoff-e2e-7mveif

Conversation

@V3RON

@V3RON V3RON commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

One line in .gitignore.

Subagents create git worktrees at .claude/worktrees/agent-<id>/, which show up as untracked directories in the repo root. They are transient checkouts of other branches and must never be committed.

.gitignore already ignores .claude/settings.local.json, so this keeps the same selective approach rather than ignoring .claude/ wholesale — any project config added there stays trackable.

Independent of the ADR 0004/0005 stack (#121–#132) and based directly on main, so it can land whenever.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MA98m7ua7qvDFZjxFaww6Z


Generated by Claude Code

Subagents create git worktrees at .claude/worktrees/agent-<id>/, which
show up as untracked directories in the repo root. They are transient
checkouts of other branches and must never be committed.

.gitignore already ignores .claude/settings.local.json, so this keeps
the same selective approach rather than ignoring .claude/ wholesale —
any project config added there stays trackable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MA98m7ua7qvDFZjxFaww6Z
@V3RON
V3RON merged commit 0476351 into main Sep 9, 2026
5 checks passed
@V3RON
V3RON deleted the claude/adr-0005-handoff-e2e-7mveif branch September 9, 2026 17:12
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