DOKK / manpages / debian 10 / stgit / stg-redo.1.en
STG-REDO(1) StGit Manual STG-REDO(1)

stg-redo - Undo the last undo operation

stg redo

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.

-n N, --number N

Undo the last N undos.

--hard

Discard changes in your index/worktree.

Part of the StGit suite - see stg(1)

09/02/2017 StGit