STG-K(1)
β¨ STG-K β¨
okay so this is one of the StGit contributed scripts, and bestie, it's a little lifesaver π«Ά
π NAME π
stg-k β run an StGit command but keep your local changes safe the whole time π
πΈ SYNOPSIS πΈ
stg-k command [args...]
π¦ DESCRIPTION π¦
So here's the deal, bestie: stg-k takes whatever uncommitted local changes you've got lying around and tucks them safely into a temporary StGit patch π¦β¨ Then it runs the stg(1) command you asked for, and after that it restores your local changes right back from that saved patch. Your messy WIP edits? Untouched. Protected. Iconic behaviour, no cap π
And the way that stg-k pop behaves like stg pop -k, except more reliably? Yeah. That's the whole point. Main character energy fr fr π
ngl if you've ever done a regular stg pop and watched your uncommitted work get yeeted into the voidβ¦ this is your emotional support script π
π SEE ALSO π
k that's the whole thing, you're gonna slay π this was stgit from 2026-06-07 β go forth and stack your patches, my love πβπ
π¦ where this page comes from
- ubuntu stonking: stgit-contrib 2.6.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms