Skip to content

chore(repo): gitignore .claude/settings.local.json#91

Merged
SamPlvs merged 1 commit into
mainfrom
claude/gitignore-settings-local
May 28, 2026
Merged

chore(repo): gitignore .claude/settings.local.json#91
SamPlvs merged 1 commit into
mainfrom
claude/gitignore-settings-local

Conversation

@SamPlvs
Copy link
Copy Markdown
Owner

@SamPlvs SamPlvs commented May 28, 2026

Summary

Adds .claude/settings.local.json to .gitignore. It was untracked-but-not-ignored, so it kept surfacing in git status and risked accidental commit. Sometimes accumulates per-machine secrets in approved-command entries (Claude Code's auto-allowlist persists every "yes" the user clicks, occasionally including env vars embedded in approved Bash commands).

The rule sits next to the existing .claude/agents/custom/* exclusion.

Test plan

  • git check-ignore -v .claude/settings.local.json now reports .gitignore:29 as the matching rule
  • git status no longer surfaces the file
  • Nothing else affected — diff is one line

🤖 Generated with Claude Code

Personal Claude Code permission overrides accumulate per-machine and
sometimes contain transient secrets in allow-list entries (e.g., bot
tokens embedded in approved commands). The file was untracked but not
explicitly gitignored, so it kept surfacing in git status.

Adding the rule alongside the existing .claude/agents/custom/* one.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying zero-operators with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4bbf708
Status: ✅  Deploy successful!
Preview URL: https://9c2a1c20.zero-operators.pages.dev
Branch Preview URL: https://claude-gitignore-settings-lo.zero-operators.pages.dev

View logs

@SamPlvs SamPlvs merged commit cd57f35 into main May 28, 2026
5 checks passed
@SamPlvs SamPlvs deleted the claude/gitignore-settings-local branch May 28, 2026 20:04
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