Skip to content

Commit 8ccdb27

Browse files
cdeustclaude
andcommitted
chore(git): ignore .Codex/, where Codex puts its worktrees
The project's rule puts every worktree at .claude/worktrees/<name>/, which .gitignore already covers. Codex uses .Codex/worktrees/ instead, and that path was tracked: reviewing PR #600 found a 60-entry checkout sitting there, one `git add -A` away from being committed. Verified with a probe file under .Codex/worktrees/: untracked before, matched by the rule after (`git check-ignore -v` names .gitignore:66). Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
1 parent 0fc6bd1 commit 8ccdb27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ traces/
5959
# be committed — its deny list is only irremovable-from-local if it ships.
6060
.claude/*
6161
!.claude/settings.json
62+
# Codex puts its own worktrees under .Codex/worktrees/ rather than the
63+
# .claude/worktrees/ this project's rule names, and the directory was one
64+
# `git add -A` away from being committed (observed 2026-09-16 while
65+
# reviewing PR #600).
66+
.Codex/
6267
tasks/
6368
benchmarks/snapshots/
6469
.memsearch/

0 commit comments

Comments
 (0)