feat: gitignore-codegraph - #852
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughModifies the git ignore template to change the ChangesGitignore Template Update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the git ignore template by adding .codegraph/ and changing the ignore pattern for Claude local settings from **/.claude/settings.local.json to .claude/settings.local.json. The reviewer advises keeping the original wildcard pattern to ensure settings are ignored in nested directories and to prevent Claude Code from automatically re-adding the pattern and creating duplicate entries.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| {{- end }} | ||
|
|
||
| **/.claude/settings.local.json | ||
| .claude/settings.local.json |
There was a problem hiding this comment.
Changing **/.claude/settings.local.json to .claude/settings.local.json is not recommended for two reasons:
- Nested Projects / Monorepos: The
**/.claude/settings.local.jsonpattern ensures that local settings are ignored at any directory depth, whereas.claude/settings.local.jsononly matches at the repository root. - Automatic Management: Claude Code automatically checks for the exact pattern
**/.claude/settings.local.jsonin the global gitignore file (~/.config/git/ignore). If it is modified or removed, Claude Code may automatically append the original pattern again, leading to duplicate entries.
It is best to keep the original pattern.
**/.claude/settings.local.json
Summary by CodeRabbit
.codegraph/directory to ignored items.