Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Claude Code now works out where a git push will go

Claude Code now reads git settings to report the push remote, host and branch, and turns this off if pushes are rerouted

Under the hood Internal Changes
JSON All of v2.1.334
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.334,
Internal ChangesSection of the release
What

Claude Code can now work out where a git push would send your work. It reads your git configuration and reports:

  • the host of the origin remote
  • the remote and branch a push targets
  • whether a plain git push goes to origin

It also checks settings that can quietly send pushes somewhere else: URL rewriting (insteadOf), pushremote, push and mirror settings, and push.default. If any of these reroute pushes, Claude Code does not report a push target at all. When reading git status fails, Claude Code reports this push information instead. It is sent as a claudecode/pushTarget message.

Why

An editor or other program connected to Claude Code can learn where a push will really go, without being misled by rewritten remote addresses.

See this entry in the whole of v2.1.334 →

Feedback