Ignore Claude Code worktrees directory

Claude Code creates git worktrees under .claude/worktrees/ at the repository
root. The official documentation explicitly recommends gitignoring this path
so worktree contents don't appear as untracked files in the main checkout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Quentin Boudinel 2026-08-10 14:31:19 +02:00
parent 57286c3887
commit 6cf8b2e5f1

View File

@ -24,6 +24,7 @@
# Claude Code
.claude/*.local.json
.claude/**/*.log
.claude/worktrees/
CLAUDE.local.md
# .claude/