Skip to content

chore(repo): add .codex/ to gitignore and remove from tracking#16

Merged
EdouardZemb merged 1 commit intomainfrom
chore/gitignore-codex
Feb 6, 2026
Merged

chore(repo): add .codex/ to gitignore and remove from tracking#16
EdouardZemb merged 1 commit intomainfrom
chore/gitignore-codex

Conversation

@EdouardZemb
Copy link
Owner

Summary

  • Add .codex/ to .gitignore under "AI tool data" section
  • Remove all .codex/ files from git tracking (133 files: config, sessions, logs, prompts, skills, tmp)
  • Codex CLI local state should not be version-controlled

Changes

  • .gitignore: added .codex/ entry
  • git rm -r --cached .codex/: removed tracked files (config, auth, history, sessions, logs, prompts, skills, tmp, cache)

Testing

  • Verified .codex/ files are ignored after commit
  • Codex CLI continues to work locally (files remain on disk)

Checklist

  • No breaking changes
  • No secrets committed (removed auth.json from tracking)
  • Self-review completed

🤖 Generated with Claude Code

Codex CLI data (config, sessions, logs, cache) should not be
version-controlled as it contains local tool state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@EdouardZemb EdouardZemb merged commit 5e493a4 into main Feb 6, 2026
3 checks passed
@EdouardZemb EdouardZemb deleted the chore/gitignore-codex branch February 6, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant