stg-sink(1)

stg-sink1

Send patches deeper down the stack

Usage

stg sink [-t <target patch>] [-n] [--] [<patches>]

Overview

This is the opposite operation of stg-float(1): move the specified patches down the stack. It is for example useful to group stable patches near the bottom of the stack, where they are less likely to be impacted by the push of another patch, and from where they can be more easily committed or pushed.

If no patch is specified on command-line, the current patch gets sunk. By default patches are sunk to the bottom of the stack, but the --to option allows one to place them under any applied patch.

Sinking internally involves popping all patches (or all patches including <target patch>), then pushing the patches to sink, and then (unless --nopush is also given) pushing back into place the formerly-applied patches.

Options

-n, --nopush

Do not push back on the stack the formerly-applied patches. Only the patches to sink are pushed.

-t TARGET, --to TARGET

Specify a target patch to place the patches below, instead of sinking them to the bottom of the stack.

-k, --keep

Keep the local changes.

Stgit

Part of the StGit suite - see stg(1)

Releases

6 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8–9
  5. 10

--keep since Debian 6.0 (Squeeze); -k since Debian 6.0 (Squeeze).

From stgit 0.18-1 in Debian 10 (Buster). Parsed by carta from the page's man source.