Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.328 ·

Leftover git lock files can be cleaned up anywhere inside .git

Claude Code's cleanup of stale git lock files can now search every folder under .git, not only a few fixed places

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

Git leaves small lock files behind to mark that it is busy. If git stops unexpectedly, a stale lock can block later git commands until it is removed. Claude Code already had a cleanup that removes stale locks.

That cleanup used to look only in the top of the .git folder and in its refs, logs, worktrees and reftable folders. It now has a deeper mode that searches every folder under .git.

Why

More kinds of leftover lock files can be found and removed, so a checkout, notably one in a cloud environment, gets unstuck in more cases.

See this entry in the whole of v2.1.328 →

Feedback