Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

10 pages for /branch.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Claude Code changelog Claude Code CLI · in the page changelog …/resume` or `--session-id`, including after `/clear` or a crash, and `/branch` writing to the original session's list * Fixed pasting text that mentions an image file, such as `! open /tmp/shot.png` o… Checkpointing Claude Code CLI · in the page checkpointing …ifferent approach while preserving the original session intact, use [`/branch`](https://code.claude.com/docs/en/sessions#branch-a-session) or `claude --continue --fork-session` instead. ## Common use… Commands Claude Code CLI · in the page commands …eeping project memory. `/resume` returns to an earlier conversation, `/branch` branches the current one to try a different direction, and `/fork` copies it into a new [background session](/docs/en/age… Hooks reference Claude Code CLI · in the page hooks …ssion` with `--resume` or `--continue`, the `/fork` background copy, `/branch`, or a conversation you [move to the background](https://code.claude.com/docs/en/agent-view.md#from-inside-a-session) | W… How Claude Code works Claude Code CLI · in the page how-claude-code-works …sages to the existing conversation. Forking with `--fork-session` or `/branch` copies the history into a new session ID, leaving the original unchanged. ![Diagram of session continuity: resume contin… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …to the task | What you can do | | - | - | - | | You run `/clear` or `/branch`, or `/resume` another session | While Claude Code stays open, the result arrives in your current conversation | After an… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface ….state` | The session ends, or the user runs `/clear`, `/resume`, or `/branch` | Values a drawing depends on that should survive a reload | | `$.store` | Your mod deletes it, or no session reads or wr… Mods reference Claude Code CLI · in the page plugins/mods/reference …again after a reload of that mod. Not after `/clear`, `/resume`, or `/branch`. | `next(e)` | | `session.end` | The session ends, or `/clear`, `/resume`, or `/branch` runs. `e.reason` is `clear`, `res… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …rface#keep-state). ### A value resets after `/clear`, `/resume`, or `/branch` A value resets, or a saved value is replaced by its default. Each of those commands resets `$.state` to its defaults, an… Manage sessions Claude Code CLI · in the page sessions …nce last activity, git branch, and file size. Sessions created with `/branch` or `--fork-session` get their own session IDs and appear as separate rows. When the picker finds more than one entry for…
Feedback