Commit a867f9c
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
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
0 commit comments