From 85561ab477ae0852c36786adff317b9a0a198452 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Wed, 12 Aug 2026 18:58:35 -0400 Subject: [PATCH] chore: ignore .claude/ (agent worktrees) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A `git add -A` in a checkout with a worktree under .claude/worktrees/ records it as a gitlink — a submodule pointer no clone can resolve. That happened in gadfly today; this is the same one-line prevention, applied before it happens here. Co-Authored-By: Claude Opus 5 (1M context) --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fce39b0..72d0517 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,6 @@ go.work.sum # macOS .DS_Store + +# Local worktrees created for agent work — never part of the repo. +.claude/