STG-SINK(1)
π STG-SINK(1) β the StGit Manual, but make it cute β¨
okay so bestie, welcome to stg-sink, which is the StGit manual page for sink β like, the whole StGit suite's manual, page 1, section 1 π
β¨ NAME β¨
stg-sink β move patches deeper in the stack π«Ά
π SYNOPSIS π
stg sink [OPTIONS] [patch]...
π¦ DESCRIPTION π¦
Move the specified patches down the stack. That's it, that's the vibe π
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. Like, it's doing the most so you don't have to π
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. lowkey iconic organizational behavior fr fr π
πΈ OPTIONS πΈ
-n,--nopushβ Do not push any formerly applied patches after sinking. Only the patches to sink are pushed. no tagalongs, periodt π-t <target>,--below=<target>,--to=<target>β Sink patches below <target> patch.-T <target>,--above=<target>β Sink patches above <target> patch.-k,--keepβ Keep the local changes π--committer-date-is-author-dateβ Instead of using the current time as the committer date, use the author date of the commit as the committer date. it's giving consistency β¨
wait, the -t one has a whole extra paragraph bestie, don't scroll past it: Specified patches are placed below <target> instead of at the bottom of the stack.
and -T gets one too π: Specified patches are placed above <target> instead of at the bottom of the stack.
π STGIT π
Part of the StGit suite β see stg(1) π§
and that's the whole page, bestie!! you ate that π
cute lil sign-off: this was StGit 2.7.0, dated 10/17/2026 β catch you in the next manpage ππ
π¦ where this page comes from
- opensuse-leap 16.0: stgit 2.7.0-bp160.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: stgit 2.7.0-bp160.1.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms