stg-undo(1)

stg-undo1

Undo the last operation

Usage

stg undo

Overview

Reset the patch stack to the previous state. Consecutive invocations of "stg undo" will take you ever further into the past.

Options

-n N, --number N

Undo the last N commands.

--hard

Discard changes in your index/worktree.

Stgit

Part of the StGit suite - see stg(1)

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8–9
  4. 10

From stgit 0.18-1 in Debian 10 (Buster). Parsed by carta from the page's man source.