Discard (Sandbox)
Published Updated
What is Discard (Sandbox)?
The action that throws away an entire sandbox session — all worktrees, branches, and committed work disappear. Requires confirmation.
Discard tears down every worktree, sub-branch, and `.orbit-sandbox` directory belonging to the session. Useful when an experiment didn't pan out and you want to abandon it cleanly without contaminating your real branch history.
How it relates to Orbit
Discard removes a sandbox session when you do not want its changes on the default branch. See Sandbox for details.
When you would use it
You Discard a sandbox session whenever the experimental work didn't produce useful results — far cleaner than trying to revert in your main branch.
Common operations
- Abandoning a failed experiment
- Cleaning up after Coordinator Mode that didn't work
Related terms
Where this is taught
No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.