-
Notifications
You must be signed in to change notification settings - Fork 0
fix: update .gitignore files to include additional ignored patterns #1367
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,14 @@ | ||
| # AI | ||
| .claude/* | ||
| .aider.tags.cache.v4 | ||
| .claude | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing |
||
| !.claude/settings.json | ||
| .codex | ||
| .conductor | ||
| .crush | ||
| .cursor | ||
| .paperclip | ||
| .pi | ||
| .serena | ||
| .worktrees | ||
| prompts.db | ||
|
|
||
|
|
@@ -12,6 +19,9 @@ config/ccs/accounts.json | |
| .devenv.nix | ||
| objectstore | ||
|
|
||
| # JJ | ||
| .jj | ||
|
|
||
| # Nix | ||
| .devenv | ||
| *.hm-backup | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,11 @@ | ||||||
| # AI | ||||||
| .aider.tags.cache.*/ | ||||||
|
||||||
| .aider.tags.cache.*/ | |
| .aider.tags.cache.* |
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.
Adding .claude/ to the global gitignore can be problematic for repositories that intend to track specific configuration files within that directory (such as settings.json in this repository). While repo-level negations can override global ignores, they require explicitly un-ignoring the directory first. It is generally safer to keep tool-specific ignores that might contain shared configuration at the repository level.
Copilot
AI
Apr 5, 2026
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.
With .claude/ ignored globally, repositories that want to keep a whitelisted file like .claude/settings.json must also unignore the directory itself (e.g., !.claude/) in the repo ignore file; otherwise the nested unignore may not work. Given this PR also introduces a repo-level whitelist for .claude/settings.json, consider changing the global ignore to only ignore contents (e.g., .claude/*) or document/standardize the required !.claude/ + !.claude/settings.json pair in repo .gitignore.
| .claude/ | |
| .claude/* |
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.
The pattern
.aider.tags.cache.v4is redundant because.aider*is already defined on line 78 of this file. Additionally, using a version-specific pattern likev4is brittle; if you wish to keep this entry at the top for organization, consider a version-agnostic pattern like.aider.tags.cache.*to match the style used in the global gitignore.