STG-K(1)

πŸ“¦ version 2.6.1, in ubuntu stonking

✨ 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