1STG-POP(1)                       StGit Manual                       STG-POP(1)
2
3
4

NAME

6       stg-pop - Pop one or more patches from the stack
7

SYNOPSIS

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

DESCRIPTION

12       Pop the topmost patch or a range of patches from the stack. The command
13       fails if there are conflicts or local changes (and --keep was not
14       specified).
15
16       A series of pop and push operations are performed so that only the
17       patches passed on the command line are popped from the stack. Some of
18       the push operations may fail because of conflicts ("stg undo" would
19       revert the last push operation).
20

OPTIONS

22       -a, --all
23           Pop all the applied patches.
24
25       -s, --spill
26           Pop a patch, keeping its modifications in the tree.
27
28       -n NUMBER, --number NUMBER
29           Pop the specified number of patches.
30
31           With a negative number, pop all but that many patches.
32
33       -k, --keep
34           Keep the local changes.
35

STGIT

37       Part of the StGit suite - see stg(1)
38
39
40
41StGit 1.4                         01/22/2022                        STG-POP(1)
Impressum