Skip to content

Commit a867f9c

Browse files
LEANDERANTONYclaude
andcommitted
Fix: untrack accidentally-committed worktree submodule + gitignore .claude/
The previous commit (beb123a) used `git add -A` to stage the rename of scripts/ → tests/quality/. That swept in `.claude/worktrees/ trusting-jones-afaa7e` as a submodule reference (mode 160000) because the worktree directory has its own `.git` file and `.claude/` turned out to NOT actually be in the gitignore — earlier searches that suggested it was matched a tab-prefixed pattern that git was reading literally. This commit: - `git rm --cached` on the spurious submodule entry, removing it from the index without touching the worktree on disk. - Adds a real `.claude/` rule to `.gitignore` so future `git add -A` invocations skip it. The worktree directory itself stays where it is; only the bogus submodule pointer in main's tree is removed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent beb123a commit a867f9c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,6 @@ reports/
277277
*.tsbuildinfo
278278

279279
# Local design/planning notes
280-
VISUAL_LOOP_MVP.md
280+
VISUAL_LOOP_MVP.md
281+
# Claude Code session state + worktrees (harness-managed, not source)
282+
.claude/

0 commit comments

Comments
 (0)