Skip to content

chore: add .codex and .agents to .gitignore#183

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/gitignore-agent-dirs-20260614
Open

chore: add .codex and .agents to .gitignore#183
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/gitignore-agent-dirs-20260614

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Adds /.codex and /.agents to .gitignore to prevent accidental commits of AI coding agent configuration directories.

Why

The .codex directory (GitHub Codex CLI) and .agents directory (AI agent tools) contain local machine-specific configuration that should never be committed to version control. These directories exist in the project root but are not tracked by git. Adding them to .gitignore prevents accidental commits.

Changes

  • .gitignore: Added /.codex and /.agents entries under a new # editor / ide section

Test Plan

  • No behavior change — this is a preventative addition only
  • Git ignore pattern is correct (leading / anchors to project root, matching existing patterns)

The .codex and .agents directories are created by AI coding agents
(Codex CLI and similar tools). These contain local configuration
and should not be tracked in version control.
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 14, 2026 6:05pm

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