stg-pop man page

stg-pop — Pop one or more patches from the stack

Synopsis

stg pop [options] [--] [<patch1>] [<patch2>] [<patch3>..<patch4>]

Description

Pop the topmost patch or a range of patches from the stack. The command fails if there are conflicts or local changes (and --keep was not specified).

A series of pop and push operations are performed so that only the patches passed on the command line are popped from the stack. Some of the push operations may fail because of conflicts ("stg undo" would revert the last push operation).

Options

-a, --all
Pop all the applied patches.
-n NUMBER, --number NUMBER

Pop the specified number of patches.

With a negative number, pop all but that many patches.

-k, --keep
Keep the local changes.

Stgit

Part of the StGit suite - see stg(1)

Info

07/19/2016 StGit StGit Manual