Commands
>_
but teardown
Exit GitButler mode and return to normal Git workflow.
This command:
- Creates an oplog snapshot of the current state
- Undoes any commits made directly on gitbutler/workspace, keeping their changes uncommitted
- Finds the first active branch and checks it out
- Alternatively, use
--checkout-to <branch>to override this default
- Alternatively, use
Other applied branches stay unapplied until you run but apply <branch>.
This is useful when you want to temporarily or permanently leave GitButler management and work with standard Git commands.
Examples
Exit GitButler mode:
Usage: but teardown [OPTIONS]
Options
-c,--checkout-to<LOCAL_BRANCH>— Explicit override for which local branch to checkout to
Last updated on