1STG-PICK(1) StGit Manual STG-PICK(1)
2
3
4
6 stg-pick - Import a patch from a different branch or a commit object
7
9 stg pick [options] [--] ([<patch1>] [<patch2>] [<patch3>..<patch4>])|<commit>
10
12 Import one or more patches from a different branch or a commit object
13 into the current series. By default, the name of the imported patch is
14 used as the name of the current patch. It can be overridden with the
15 --name option. A commit object can be reverted with the --revert
16 option. The log and author information are those of the commit object.
17
19 -n NAME, --name NAME
20 Use NAME as the patch name.
21
22 -B REF-BRANCH, --ref-branch REF-BRANCH
23 Pick patches from BRANCH.
24
25 -r, --revert
26 Revert the given commit object.
27
28 -p COMMITID, --parent COMMITID
29 Use COMMITID as parent.
30
31 -x, --expose
32 Append the imported commit id to the patch log.
33
34 --fold
35 Fold the commit object into the current patch.
36
37 --update
38 Like fold but only update the current patch files.
39
40 -f FILE, --file FILE
41 Only fold the given file (can be used multiple times).
42
43 --unapplied
44 Keep the patch unapplied.
45
47 Part of the StGit suite - see stg(1)
48
49
50
51
52StGit 07/17/2018 STG-PICK(1)