stg-reset - Man Page

Reset the patch stack to an earlier state

Synopsis

stg reset [--hard] [<committish> [<patchname>...]]
stg reset --hard

Description

Reset the patch stack to an earlier state. If no state is specified, reset only the changes in the worktree.

The state is specified with a commit id from the stack log, which may be viewed with stg-log(1). Patch name arguments may optionally be provided to limit which patches are reset.

Options

--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-repair(1).

09/18/2024 StGit 2.4.12 StGit Manual