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.327 ·

Leftover git lock files are cleared before setting up a cloud session's repository

When setting up a repository for a remote session, Claude Code can now delete git lock files left behind by an interrupted git

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

Unclear Which kinds of session turn this cleanup on is not stated.

What

When git is cut short, it can leave lock files (files ending in .lock) behind, and later git commands then refuse to run. When the option is turned on, Claude Code now scans the repository's .git folder, including its refs, logs, worktrees and reftable folders, before setting up the repository, and deletes any such leftover lock files. Each removal is logged with the message "Removed stale ... left by a git that was cut short".

Why

Cloud or remote sessions that used to fail because of leftover lock files can now recover on their own.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich kinds of session turn this cleanup on is not stated.

See this entry in the whole of v2.1.327 →

Feedback