STG-TOP(1)
πΈ stg-top(1) β the StGit manual, bestie edition πΈ
okay so this is stg-top from the StGit Manual, and honestly? she's a short one. a lil snack. a single-job icon. let's get into it π
β¨ NAME β¨
stg-top β prints the name of the top patch. that's it. that's the whole job. main character energy with zero filler π
β¨ SYNOPSIS β¨
stg top [OPTIONS]
literally one command, optional flags, no drama. slay β¨
β¨ DESCRIPTION β¨
So stg top prints the name of the top patch. π«Ά
And in case you were wondering what "top patch" even means β the topmost patch is the currently applied patch. that's the vibe. the one sitting right at the tip of your stack like π.
β οΈ but bestie, listen β if no patches are applied, you get an error message. no patch, no name. the command will not just quietly hand you nothing, it will tell you. π
β¨ OPTIONS β¨
-b <branch>,--branch=<branch>β use<branch>instead of the current branch π¦ (yes queen, go look at a different branch's top patch, we love a field trip)
β¨ STGIT β¨
This one's part of the StGit suite β see stg(1) for the whole friend group π
and that's the page!! short, sweet, iconic, ate and left no crumbs π
sign-off vibes: this lil masterpiece is from StGit 2.7.0, dated 10/17/2026 β screenshot it, frame it, put it on the fridge πβ¨π§
π¦ 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