Branching a session into a copy you can take somewhere else, and going back to an earlier point. Subagents that start from your conversation are on the Subagents page.
Worktrees: create, set up, integrate and clean up isolated checkouts
| Question | Antigravity CLI |
|---|---|
| Fork a session | Run /fork or /branch in the terminal UI. The CLI creates a new conversation ID and switches the terminal to it. |
| Fork or rewind from an earlier point | Partly The command branches from the current conversation position. Selecting a specific earlier turn remains unverified. |
| What the fork keeps | The fork carries conversation history and context. Since 1.5.12, large artifact folders can remain with the original conversation, so deleting the original can remove files referenced by the fork. |
| File changes and worktrees | |
| Where a fork came from | |
| Fork from the SDK or API |
Notes and sources
Antigravity CLI, 2 sources
- Publisher documentation and release notes. The fork itself was not runtime-tested.