mirror of
https://github.com/github/gitignore.git
synced 2026-08-26 17:57:13 +02:00
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:
parent
57286c3887
commit
6cf8b2e5f1
@ -24,6 +24,7 @@
|
||||
# Claude Code
|
||||
.claude/*.local.json
|
||||
.claude/**/*.log
|
||||
.claude/worktrees/
|
||||
CLAUDE.local.md
|
||||
# .claude/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user