1STG-UNDO(1)                      StGit Manual                      STG-UNDO(1)
2
3
4

NAME

6       stg-undo - Undo the last operation
7

SYNOPSIS

9       stg undo
10

DESCRIPTION

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

OPTIONS

16       -n N, --number N
17           Undo the last N commands.
18
19       --hard
20           Discard changes in your index/worktree.
21

STGIT

23       Part of the StGit suite - see stg(1)
24
25
26
27StGit 0.23                        01/27/2021                       STG-UNDO(1)
Impressum