From e93be10f2fdda61c5916d27c89ff78c818aad972 Mon Sep 17 00:00:00 2001 From: Jeff Repanich Date: Sat, 12 Sep 2026 06:44:43 -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 9dc13d6..e06d2e9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ dist/ coverage/ *.tgz .DS_Store + +# Local agent state and worktrees +.claude/