Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.307 ·

Runner sessions now tell git to ignore .claude/settings.local.json

When a runner resets its git setup for a session, it now writes a git ignore rule so .claude/settings.local.json is not committed by accident

You'll notice Improvements
JSON All of v2.1.307
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Self-Hosted RunnerArea: what it touches
ImprovementsKind: in v2.1.307,
ImprovementsSection of the release
What

A runner is a copy of Claude Code that carries out sessions on someone's behalf, often on a separate machine. When it resets its home-level git setup at the start of a session (git's own settings, kept outside the project folder), it now also writes an ignore file into git's configuration folders. That file tells git to skip .claude/settings.local.json, the file that holds your personal, machine-only Claude Code settings.

Before, the runner only removed the old configuration and restored its saved copy, and wrote no ignore rule. If writing the new file fails, Claude Code logs a warning that git may not ignore .claude/settings.local.json in this session.

Why

A command such as git add -A stages every changed file in a project. Without the ignore rule it could pick up your local settings file and commit it with your work. If you see the warning, check what you are about to commit before you push.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeSelf-hosted runner: Fixed sessions with --use-anthropic-git-proxy committing a .claude/settings.local.json left in the clone by an earlier…

See this entry in the whole of v2.1.307 →

Feedback