Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.85 ·

Worktree Support for Non-Git VCS

Entry
JSON All of v2.1.85
EntryKind: in v2.1.85,
ChangesSection of the release

The --worktree flag now provides a clear error and migration path for non-git repositories: "Configure a WorktreeCreate hook in settings.json to use --worktree with other VCS systems."

Evidence

Worktree hook suggestion (search for "Configure a WorktreeCreate hook")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed --worktree exiting with an error in non-git repositories before the WorktreeCreate hook could run

See this entry in the whole of v2.1.85 →

Feedback