1STG-UNDO(1) StGit Manual STG-UNDO(1)
23
4
NAME
6stg-undo - Undo the last operation
7
SYNOPSIS
9stg undo
10
DESCRIPTION
12Reset 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
17Undo the last N commands.
1819
--hard
20Discard changes in your index/worktree.
21
STGIT
23Part of the StGit suite - see stg(1)
2425
26
27
28
StGit 07/27/2019 STG-UNDO(1)