STG-SHOW(1)

πŸ’… STG-SHOW(1) β€” the StGit Manual, bestie edition πŸŽ€

okay so picture this: you're deep in your StGit era and you just wanna see stuff. That's stg-show β€” the manual page, the lore, the whole thing. It lives in the StGit Manual and it's genuinely giving main character energy ✨


🌸 NAME 🌸

stg-show β€” show patch commits. that's it, that's the vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

stg show [OPTIONS] [patch-or-rev]... [-- <path>...]
stg show [OPTIONS] [--patch <patch-or-rev>]... [-- <path>...]
stg show [OPTIONS] [-A] [-U] [-H] [-- <path>...]

three whole ways to call her, pick your fighter 🫢


πŸ’« DESCRIPTION πŸ’«

So what does she do? She shows you the commit log and the diff for whatever patches you hand her. iconic behavior, honestly.

by default you get the topmost patch β€” or HEAD if there are no patches applied at all (ngl, sometimes that's just where you're at). The output is similar to git-show(1), so if you already know that one you're lowkey gonna feel right at home 😌


✨ OPTIONS ✨

like, all of them. every single one. no skipping, periodt πŸ’…

  • -p &lt;patch-or-rev&gt;, --patch=&lt;patch-or-rev&gt; β€” the patch or revision you actually wanna see πŸ‘€
  • -b &lt;branch&gt;, --branch=&lt;branch&gt; β€” use &lt;branch&gt; instead of whatever the current branch is. branch-hopping, but make it intentional πŸ¦‹
  • -s, --stat β€” give me a diffstat summary instead of the full diff. the TL;DR version, for when the full diff is too much πŸ’€
  • -O &lt;option&gt;, --diff-opt=&lt;option&gt; β€” pass an extra &lt;option&gt; straight through to git diff. and the best part? you can specify this multiple times πŸ”₯ stack as many as your heart desires.
peep the git-diff(1) man page for what those options actually are πŸ“–
  • -A, --applied β€” show the applied patches βœ…
  • -U, --unapplied β€” show the unapplied patches πŸ™ˆ
  • -H, --hidden β€” show the hidden patches 🫣 (the secret ones, iykyk)

πŸ‘‘ STGIT πŸ‘‘

part of the StGit suite β€” go check out stg(1) if you wanna meet the whole family 🧚


mwah πŸ’‹ that's the page! this lil number is brought to you by StGit 2.7.0, dated 10/17/2026 β€” go forth and inspect ur patches, bestie, you're gonna slay 🌈⭐

πŸ“¦ where this page comes from