⌨️/branch Command
Also known as /branch, --fork-session, Branch a conversation
It copies the chat so far and moves you into the copy.
Think of it like
It is like a path that splits in two. You walk down the new one, and the old one is still there.
Example
Jack and Claude have a plan for a cache. He wants to see a second plan too, so he types /branch. If the new plan is worse, he resumes the first chat.
Why it matters
You can explore a risky idea and still keep the good chat you had before it.
Definition
Example code
console
/branch try-streamingCommon mistake
Key takeaways
- 1A copy of the chat. Up to this point.
- 2You move into it. The original waits.
- 3Same files. Only the talk is copied.