From f791bd8126aeacb7f9ca37cef803531f0ebe1c42 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 872d5f6..37f4b6f 100644 --- a/.gitignore +++ b/.gitignore @@ -141,3 +141,6 @@ dist vite.config.js.timestamp-* vite.config.ts.timestamp-* .vite/ + +# Local agent state and worktrees +.claude/