From 0614362538a4a5849ab0e2e006adc38ba013a287 Mon Sep 17 00:00:00 2001 From: Jeff Repanich Date: Sat, 12 Sep 2026 06:44:44 -0400 Subject: [PATCH] chore: ignore local agent worktrees Claude Code creates git worktrees under .claude/worktrees/. They are full checkouts of the repo, and leaving them untracked-but-unignored means they can be picked up by a stray 'git add .'. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 16b884e..395bbf5 100644 --- a/.gitignore +++ b/.gitignore @@ -140,3 +140,6 @@ __screenshots__/ test-results/ playwright-report/ blob-report/ + +# Local agent state and worktrees +.claude/