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

Claude Code v2.1.246 ·

Cloud commits are held back when the branch is checked out in another worktree

Cloud commits wait rather than apply when the branch is checked out in another worktree.

You'll notice No documentation found Improvements
JSON All of v2.1.246
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Directory SyncArea: what it touches
ImprovementsKind: in v2.1.246,
ImprovementsSection of the release
What

When directory sync would fast-forward a branch that is also checked out in another worktree, it now waits instead of applying, with a reason of checked_out_elsewhere and a line explaining that applying Claude's cloud commits there would make them look undone in the other tree. If that worktree is gone, git worktree prune clears the block.

Details
  • Before applying an incoming cloud commit the checkout's worktrees are enumerated, honouring core.bare, extensions.worktreeConfig and per-worktree config, plus rebase and bisect head-name files.
  • The same check runs again at commit time, not only before the apply.
  • No flag; this is on for everyone using directory sync.
Evidence

checked_out_elsewhere, which would then show them as undone there

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

Read from
Names in the bundlegit worktree prune

See this entry in the whole of v2.1.246 →

Feedback