mirror of
https://github.com/github/gitignore.git
synced 2026-10-26 04:32:31 +01: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:
1 parent
57286c3887
commit
6cf8b2e5f1
1 file changed
+1
@@ -24,6 +24,7 @@
|
||||
# Claude Code
|
||||
.claude/*.local.json
|
||||
.claude/**/*.log
|
||||
.claude/worktrees/
|
||||
CLAUDE.local.md
|
||||
# .claude/
|
||||
|
||||
|
||||
Reference in new issue
Block a user