Verified Claude Code
Fork a conversation to try another approach without touching the original
What it does
--fork-session with --continue or --resume starts a new session ID that keeps the earlier context, leaving the original untouched.
How
claude --continue --fork-session
How much to trust this
| Applies to | ≥ 2.0.73 |
|---|---|
| Verified | Oct 17, 2026 · v2.1.296 · tested locally 2.1.296 的 --help 中存在该参数;changelog 最早在 2.0.73 提到 |
| Depends on | --fork-session--continue--resume |
| Source | https://code.claude.com/docs/en/cli-reference (official_docs) |