1STG-COMMIT(1) StGit Manual STG-COMMIT(1)
2
3
4
6 stg-commit - Permanently store the applied patches into the stack base
7
9 stg commit [options]
10 stg commit [options] [--] <patchnames>
11 stg commit [options] -n NUM
12 stg commit [options] --all
13
15 Merge one or more patches into the base of the current stack and remove
16 them from the series while advancing the base. This is the opposite of
17 stg uncommit. Use this command if you no longer want to manage a patch
18 with StGit.
19
20 By default, the bottommost patch is committed. If patch names are
21 given, the stack is rearranged so that those patches are at the bottom,
22 and then they are committed.
23
24 The -n/--number option specifies the number of applied patches to
25 commit (counting from the bottom of the stack). If -a/--all is given,
26 all applied patches are committed.
27
29 -n NUMBER, --number NUMBER
30 Commit the specified number of patches.
31
32 -a, --all
33 Commit all applied patches.
34
35 --allow-empty
36 Allow empty patches to be committed.
37
39 Part of the StGit suite - see stg(1)
40
41
42
43StGit 1.5 01/21/2023 STG-COMMIT(1)