stg-redo - Man Page

Undo the last undo operation

Synopsis

stg redo [OPTIONS]

Description

If the last command was an undo, the patch stack state will be reset to its state before the undo. Consecutive redos will undo the effects of consecutive invocations of stg-undo(1).

It is an error to redo if the last stack-modifying command was not an undo.

Options

-n <n>, --number=<n>

Undo the last <n> undos

--hard

Discard changes in the index and worktree

Stgit

Part of the StGit suite - see stg(1)

Referenced By

stg(1), stg-log(1).

04/09/2024 StGit 2.4.6 StGit Manual