Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Branch checkout commands now use -- end-of-options guard

Branch checkout git commands now add a trailing -- to prevent branch names being misread as options

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGitwhat it touches
KindBug Fixesin v2.1.274,
Under the hood

Branch checkout git commands now add a trailing -- to prevent branch names being misread as options

What

Git checkout commands run internally, including plain checkout, checkout with a new branch tracking a remote, and checkout tracking a remote branch, now append a trailing -- argument.

Why

The -- tells git that everything after it is a file or branch name, not an option flag. This prevents a branch name that happens to look like a flag (for example, one starting with a dash) from being misinterpreted as a git option.

See this entry in the whole of v2.1.274 →