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