Scroll to navigation

STG-UNDO(1) StGit Manual STG-UNDO(1)

NAME

stg-undo - 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)
03/26/2014 StGit