stg-redo(1)

stg-redo1

Undo the last undo operation

Usage

stg redo

Overview

If the last command was an undo, reset the patch stack to the state it had before the undo. Consecutive invocations of "stg redo" will undo the effects of consecutive invocations of "stg undo".

It is an error to run "stg redo" if the last command was not an undo.

Options

-n N, --number N

Undo the last N undos.

--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.