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

Claude Code v2.1.206 ·

Dynamic Git Remote Detection for Push Permissions

Entry
JSON All of v2.1.206
EntryKind: in v2.1.206,
New FeaturesSection of the release
What

Permission rules for git push now automatically include the repo's configured push remote, not just origin.

Details
  • Before adding a Bash(git push origin *) rule, Claude now queries git config remote.pushDefault to find the actual configured push target.
  • If only one remote is configured, it is used regardless of name.
  • The resolved remote is added alongside origin in the allowed-patterns list, so both git push origin and git push {remote} are permitted.
  • This prevents unnecessary permission prompts for repos that push to upstream, a fork remote, or any non-origin name.
Evidence

Remote resolution (search for "remote.pushDefault"); dynamic rules (search for "git push -u" alongside "rwn")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree/commit-push-pr now auto-allows git push to the repo's configured push remote (remote.pushDefault, or the sole remote when only one is…

See this entry in the whole of v2.1.206 →

Feedback