STG-SINK(1)                     StGit Manual                     STG-SINK(1)

NAME         top

       stg-sink - Send patches deeper down the stack

SYNOPSIS         top

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

DESCRIPTION         top

       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         top

       -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         top

       Part of the StGit suite - see stg(1)

COLOPHON         top

       This page is part of the stgit (Stacked Git) project.  Information
       about the project can be found at ⟨⟩.
       If you have a bug report for this manual page, see 
       ⟨⟩.  This page was obtained from the
       project's upstream Git repository ⟨⟩ on
       2017-07-05.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to

StGit                            07/05/2017                      STG-SINK(1)

Pages that refer to this page: stg(1)