1STG-REDO(1) StGit Manual STG-REDO(1)
2
3
4
6 stg-redo - Undo the last undo operation
7
9 stg redo
10
12 If the last command was an undo, reset the patch stack to the state it
13 had before the undo. Consecutive invocations of "stg redo" will undo
14 the effects of consecutive invocations of "stg undo".
15
16 It is an error to run "stg redo" if the last command was not an undo.
17
19 -n N, --number N
20 Undo the last N undos.
21
22 --hard
23 Discard changes in your index/worktree.
24
26 Part of the StGit suite - see stg(1)
27
28
29
30StGit 1.1 07/23/2021 STG-REDO(1)