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

NAME

6       stg-push - Push one or more patches onto the stack
7

SYNOPSIS

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

DESCRIPTION

12       Push one or more patches (defaulting to the first unapplied one) onto
13       the stack. The push operation allows patch reordering by commuting them
14       with the three-way merge algorithm. If there are conflicts while
15       pushing a patch, those conflicts are written to the work tree, and the
16       command halts. Conflicts raised during the push operation have to be
17       fixed and the git add --update command run (alternatively, you may undo
18       the conflicting push with stg undo).
19
20       The command also notifies when the patch becomes empty (fully merged
21       upstream) or is modified (three-way merged) by the push operation.
22

OPTIONS

24       -a, --all
25           Push all the unapplied patches.
26
27       -n NUMBER, --number NUMBER
28           Push the specified number of patches.
29
30           With a negative number, push all but that many patches.
31
32       --reverse
33           Push the patches in reverse order.
34
35       --noapply
36           Reorder patches by pushing without applying.
37
38       --set-tree
39           Push the patches, but don’t perform a merge. Instead, the resulting
40           tree will be identical to the tree that the patch previously
41           created.
42
43           This can be useful when splitting a patch by first popping the
44           patch and creating a new patch with some of the changes. Pushing
45           the original patch with --set-tree will avoid conflicts and only
46           the remaining changes will be in the patch.
47
48       -k, --keep
49           Keep the local changes.
50
51       -m, --merged
52           Check for patches merged upstream.
53

STGIT

55       Part of the StGit suite - see stg(1)
56
57
58
59StGit 1.5                         07/23/2022                       STG-PUSH(1)
Impressum