1STG-SINK(1) StGit Manual STG-SINK(1)
2
3
4
6 stg-sink - Send patches deeper down the stack
7
9 stg sink [-t <target patch>] [-n] [--] [<patches>]
10
12 This is the opposite operation of stg-float(1): move the specified
13 patches down the stack. It is for example useful to group stable
14 patches near the bottom of the stack, where they are less likely to be
15 impacted by the push of another patch, and from where they can be more
16 easily committed or pushed.
17
18 If no patch is specified on command-line, the current patch gets sunk.
19 By default patches are sunk to the bottom of the stack, but the --to
20 option allows one to place them under any applied patch.
21
22 Sinking internally involves popping all patches (or all patches
23 including <target patch>), then pushing the patches to sink, and then
24 (unless --nopush is also given) pushing back into place the
25 formerly-applied patches.
26
28 -n, --nopush
29 Do not push back on the stack the formerly-applied patches. Only
30 the patches to sink are pushed.
31
32 -t TARGET, --to TARGET
33 Specify a target patch to place the patches below, instead of
34 sinking them to the bottom of the stack.
35
36 -k, --keep
37 Keep the local changes.
38
40 Part of the StGit suite - see stg(1)
41
42
43
44
45StGit 07/17/2018 STG-SINK(1)