STG-SPILL(1)
πΈ STG-SPILL(1) πΈ
okay so bestie, welcome to the StGit Manual page for stg-spill β literally one of the cutest little commands in the whole suite π
β¨ NAME β¨
stg-spill β spill changes from the topmost patch π«
β¨ SYNOPSIS β¨
stg spill [OPTIONS] [path]...
β¨ DESCRIPTION β¨
So here's the vibe: stg spill takes changes from the topmost patch and spills them out. The changes get removed from the patch, but β and this is the iconic part β they stay in the index and worktree. Nothing is lost, it's just relocated π
Why would you even want that? Because spilling a patch is lowkey useful for reselecting the files/hunks that end up included in the patch. Like, you dump everything out, then carefully pick what goes back in. Curated. Main character energy π
β¨ OPTIONS β¨
-a <note>,--annotate=<note>β drops a littlenoteinto the patch log entry. annotate your patch, bestie, future you will thank you π-r,--resetβ also resets the index, so the patch's changes only remain in the worktree. Fr fr: without this option, the patch's changes are in both the index and worktree. With it, index says "not me" π--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. same energy, zero clock drama β
β¨ STGIT β¨
it's part of the StGit suite β see stg(1) for the whole fam π«Ά
quick vibe check: spilling removes the changes from the patch, but they remain in the index and worktree β so don't panic, nothing vanished, it's just hanging out elsewhere β¨
mwah, that's the page π this was served fresh from StGit 2.7.0, dated 10/17/2026 β see you in the next manpage, bestie ππ¦
π¦ 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