GitButler ⧓

Commands

but restore

Restore to a specific oplog snapshot

Usage

but restore [OPTIONS] <OPLOG_SHA>

Arguments

<OPLOG_SHA>

Oplog SHA to restore to.

  • Type: String
  • Required: Yes

Options

-f, --force

Skip confirmation prompt.

  • Type: Flag (boolean)
  • Default: false

Examples

Restore to a specific snapshot (with confirmation):

but restore abc123def456

Restore without confirmation prompt:

but restore abc123def456 --force

Last updated on

On this page

Edit on GitHubGive us feedback