Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Teleport's git helpers now target the right checkout, verify it, and can auto-stash changes

Git operations used by Claude Code's teleport feature now run against the correct working directory and can auto-stash uncommitted changes first

Group of 3 Under the hood Improvements
JSON All of v2.1.274
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Git TeleportArea: what it touches
ImprovementsKind: in v2.1.274,
ImprovementsSection of the release

What

  • Internal git helpers used for the "teleport" feature (upstream-set, branch checkout, current-branch lookup) now resolve a stable checkout root via a new helper and pass an explicit working directory and environment to every git subprocess, instead of relying on the process's ambient working directory.
  • A new verification step checks that the checkout's .git entry actually points back to the resolved repository, throwing an error ("Could not verify this checkout's git repository") if it doesn't.
  • A new auto-stash helper stages untracked files and runs git stash push --message, backing a new "Teleport auto-stash" flow that stashes uncommitted changes before teleporting.

Why

This prevents teleport's git commands from accidentally acting on the wrong repository or directory, and avoids losing uncommitted work by stashing it automatically before switching.

See this entry in the whole of v2.1.274 →

Feedback