stg-undo - Man Page
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)
Referenced By
stg(1), stg-log(1), stg-push(1), stg-redo(1), stg-repair(1).
09/18/2024 StGit 2.4.12 StGit Manual