[BUG] `settings.local.json` global git ignore wrong on Windows

Resolved 💬 2 comments Opened Sep 2, 2025 by h3rmanj Closed Dec 17, 2025

Environment

  • Claude CLI version: 1.0.69
  • Operating System: Windows 11

Bug Description

.claude/settings.local.json is not ignored on Windows. The entry added to ~/.config/git/ignore is **/.claude\settings.local.json, with a wrong slash. The entry should be **/.claude/settings.local.json, and when manually changing to it, it works as expected.

Expected Behavior

.claude/settings.local.json is ignored everywhere.

Actual Behavior

.claude/settings.local.json is not ignored anywhere.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗