From a13dd2cd42d6b47230fd05ae02e591eab912a2e6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 18 May 2026 02:44:37 +0000 Subject: [PATCH] Gitignore .claude/ session state The Claude Code CLI creates .claude/worktrees/ when a subagent runs with isolation: worktree. That directory is per-session and per-developer state, not project state, so it shouldn't be tracked. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 96ccaff..1b04371 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ find-replace # Dependency directories (remove the comment below to include it) # vendor/ + +# Claude Code session state (worktrees, etc.) +.claude/