table of contents
STG-SINK(1) | StGit Manual | STG-SINK(1) |
NAME¶
stg-sink - Move patches deeper in the stack
SYNOPSIS¶
stg sink [OPTIONS] [patch]...
DESCRIPTION¶
Move the specified patches down the stack.
If no patch is specified on the command line, the current (topmost) patch is sunk. By default, patches are sunk to the bottom of the stack, but the --above or --below (alias --to) options may be used to place them above or below any applied patch.
Internally, sinking involves popping all patches to the bottom (or to the target patch if --above or --below is used), then pushing the patches to sink, and then, unless --nopush is specified, pushing back any other formerly applied patches.
Sinking may be useful, for example, to group stable patches at the bottom of the stack where they less likely to be impacted by the push of another patch, and from where they can be more easily committed or pushed to another repository.
OPTIONS¶
-n, --nopush
-t <target>, --below=<target>, --to=<target>
Specified patches are placed below <target> instead of at the bottom of the stack.
-T <target>, --above=<target>
Specified patches are placed above <target> instead of at the bottom of the stack.
-k, --keep
--committer-date-is-author-date
STGIT¶
Part of the StGit suite - see stg(1)
09/20/2024 | StGit 2.4.12 |