-
Notifications
You must be signed in to change notification settings - Fork 122
chore: update .gitignore to include Claude context files #5810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
WalkthroughThe Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.gitignore (1)
63-65
: Scope and untrack Claude context files
The rules for ignoringCLAUDE.md
and.claude/
look good, but to restrict them to the repo root, add leading slashes. Also ensure any already-tracked context files are removed from Git’s index.Diff suggestion:
-CLAUDE.md -.claude/ +/CLAUDE.md +/.claude/To untrack existing files:
git rm --cached CLAUDE.md git rm -r --cached .claude/
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.gitignore
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Setup
- GitHub Check: Cypress
🔇 Additional comments (1)
.gitignore (1)
61-62
: Inconsistent summary: unexpected sitemap ignore rule
The PR summary states only the Claude context files were added, butapps/cow-fi/public/sitemap*
appears as a new entry. Please confirm whether this change is intentional.Likely an incorrect or invalid review comment.
Summary
Add AI context files to gitignore to keep them local-only
Added
CLAUDE.md
and.claude/
directory to.gitignore
to prevent AI assistant context files frombeing committed to the repository while keeping them available for local development sessions.
To Test
.claude/
directorygit status
and verify the file is not trackedCLAUDE.md
and verify changes are not tracked.claude/order-status-context.md
is ignoredBackground
AI context files like
CLAUDE.md
and.claude/*.md
contain local development preferences and shouldn'tbe shared across the team. Each developer may want different AI assistant configurations.
Summary by CodeRabbit