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

New git-safety instruction in the commit/PR prompt template: avoid bulk git add

Commit/PR guidance now warns against bulk git add -A or git add .

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Safetywhat it touches
KindImprovementsin v2.1.268,
You'll notice

Commit/PR guidance now warns against bulk git add -A or git add .

What

The built-in guidance Claude Code follows when committing changes or creating pull requests now includes a warning to stage files by name rather than using git add -A or git add ..

Why

Bulk-adding all files can accidentally sweep in things like .env files, credentials, or large binary files that shouldn't be committed; staging specific files by name avoids that risk.

See this entry in the whole of v2.1.268 →

Feedback