table of contents
STG-UNDO(1) | StGit Manual | STG-UNDO(1) |
NAME¶
stg-undo - Undo the last command
SYNOPSIS¶
stg undo [OPTIONS]
DESCRIPTION¶
Reset the patch stack to the state before the last operation. Consecutive undos will go back to yet older stack states.
OPTIONS¶
-n <n>, --number=<n>
Undo the last <n> commands
--hard
Discard changes in the index and worktree
STGIT¶
Part of the StGit suite - see stg(1)
09/20/2024 | StGit 2.4.12 |