Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.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

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Teleportwhat it touches
KindImprovementsin v2.1.274,
Group of 3 Under the hood

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

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