blob: 0f569be4399b8027a4471bf8914006dc6baf8693 [file] [log] [blame]
Yann Dirson <>
v0.13, April 2007
stg-sink - stgdesc:sink[]
'stg' sink [--to=<target>] [--nopush] [<patches>]
This is the opposite operation of stglink:float[]: 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 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.
-t <TARGET>::
Specify a target patch to place the patches below, instead of
sinking them to the bottom of the stack.
Do not push back on the stack the formerly-applied patches.
Only the patches to sink are pushed.
Part of the StGIT suite - see gitlink:stg[1].