stg-undo - Man Page
Undo the last operation
Synopsis
stg undo
Description
Reset the patch stack to the previous state. Consecutive invocations of "stg undo" will take you ever further into the past.
Options
- -n N, --number N
Undo the last N commands.
- --hard
Discard changes in your index/worktree.
Stgit
Part of the StGit suite - see stg(1)
Info
01/21/2023 StGit 1.5 StGit Manual