GitButler ⧓

Commands
>_

but teardown

Exit GitButler mode and return to normal Git workflow.

This command:

  • Creates an oplog snapshot of the current state
  • Finds the first active branch and checks it out
    • Alternatively, use --checkout-to <branch> to override this default
  • Cherry-picks any dangling commits from gitbutler/workspace
  • Provides instructions on how to return to GitButler mode

This is useful when you want to temporarily or permanently leave GitButler management and work with standard Git commands.

Examples

Exit GitButler mode:

but teardown
but teardown --checkout-to my-feature-branch

Usage: but teardown [OPTIONS]

Options

  • -c, --checkout-to <LOCAL_BRANCH> — Explicit override for which local branch to checkout to

Last updated on

On this page

Edit on GitHubGive us feedback