From 43ab52269008abb6453fb8c6bc2f65e8a2f10ceb 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 ea35af8..e95475c 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,6 @@ inventory.md # OS .DS_Store Thumbs.db + +# Local agent state and worktrees +.claude/