Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

PR/change tracking now extracts and reports the source branch

Claude Code now detects the head/source branch of gh/glab PR creations and reports it as the branch a new change was opened from

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaGit Integrationwhat it touches
KindImprovementsin v2.1.273,
Group of 2 You'll notice

Claude Code now detects the head/source branch of gh/glab PR creations and reports it as the branch a new change was opened from

What

  • The code that scans bash command output for gh pr create / glab mr create invocations to link a session to a pull request was rewritten to also extract the target branch, from a --head/-H (gh) or --source-branch/-s (glab) flag, and validate it as a safe git ref before using it.
  • The branch field reported to a host for VCS changes is now documented to carry this branch information more broadly: not just for providers without their own head-branch concept (like Gerrit), but for any provider when the change's kind is created, using the branch the create was opened from.

Why This lets a host display the branch a newly created pull request or change came from immediately, before the host's own lookup against the forge (like GitHub or GitLab) responds.

See this entry in the whole of v2.1.273 →