STG-PREV(1)
π STG-PREV(1)
okay so real quick β this is a page straight out of the StGit Manual, and it's lowkey one of the shortest ones ever, so grab a lil snack and let's go π
β¨ NAME β¨
stg-prev β it prints the name of the previous patch, that's literally it, that's the whole job π«Ά
β¨ SYNOPSIS β¨
stg prev [OPTIONS]
πΈ DESCRIPTION πΈ
So stg prev prints out the name of the previous patch. Periodt.
Now, bestie, what even is the "previous patch"? π It's the applied patch that comes right before the current, topmost patch β like the one standing directly behind the main character in the lineup π
ngl there's a catch: if there aren't enough patches applied, you're gonna get an error message instead. The vibe check fails, no name for you π
π OPTIONS π
-b <branch>,--branch=<branch>β use<branch>instead of the current branch, iykyk π
π¦ STGIT π¦
This lil icon is part of the StGit suite β go see stg(1) for the full picture β¨
and that's the whole page fr fr π this beauty shipped with StGit 2.7.0, dated 10/17/2026 β screenshot it, frame it, it's iconic ππ
π¦ 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