Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

git clean warning is skipped only for a real dry-run flag

The warning that git clean may permanently delete untracked files is now skipped only when -n or --dry-run is its own argument

You'll notice Bug Fixes
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash SafetyArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What

Claude Code warns that a git clean force command may permanently delete untracked files. A dry run, which only lists what would be deleted, does not get the warning. Before, -n or --dry-run appearing anywhere in the command, even inside a file path or another word, was enough to skip the warning. Now the flag has to stand on its own, with a space or tab before it.

Why

The warning can no longer be skipped by accident, or on purpose, just because a path or other argument happens to contain those letters.

See this entry in the whole of v2.1.334 →

Feedback