Skip to content

Orca g undo

orca g undo

Removes commits from the branch.

Synopsis

This will (destructively) remove commits from the current branch. The number of commits to remove is defined by the 'number' option.

orca g undo [flags]

Options

  -h, --help         help for undo
  -n, --number int   The number of commits to remove from the branch. (default 1)
  -y, --yes          Skip the confirmation prompt, and just delete them. #YOLO

Options inherited from parent commands

      --log-format string   log format to use (default "text")
      --log-level string    Log level to use, one of: debug, info, warn, error, none. Defaults to none, as most errors are already surfaced anyway. (default "none")

SEE ALSO

  • orca g - Commands related to git.
Auto generated by spf13/cobra on 20-Aug-2025