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 ·

Worktree cleanup gains an extra path-resolution step before chdir/removal

Worktree cleanup now resolves the worktree path with a fallback before using it

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Worktreeswhat it touches
KindBug Fixesin v2.1.274,
You'll notice

Worktree cleanup now resolves the worktree path with a fallback before using it

What

When cleaning up a git worktree, the code now computes a resolved version of the worktree path (falling back to the original path if resolution fails) before proceeding, and uses that resolved path consistently in the subsequent steps, including changing directory and running git worktree remove.

Why

This makes worktree cleanup more robust in cases where the raw path and its resolved form differ.

See this entry in the whole of v2.1.274 →

Feedback