STG-DIFF(1)
β¨ STG-DIFF π
ok so bestie, welcome to stg-diff from the StGit Manual β this is the STG-DIFF(1) page and it's literally the "show me what changed" command π«Ά
πΈ SYNOPSIS πΈ
stg diff [OPTIONS] [path]...
π¦ DESCRIPTION π¦
okay so the whole vibe here: stg diff shows you a diff (that's the default, no thoughts needed) or a diffstat between the current working copy or a tree-ish object, and another tree-ish object (which defaults to HEAD if you don't say anything, she's lowkey minding her own business π).
you can also hand it file names to restrict the diff output β like, "only show me these files please and thank you" π
and the tree-ish object takes the format that the stg-id(1) command accepts. iykyk β¨
π OPTIONS π
-r <revspec>,--range=<revspec>β shows the diff between the revisions you specify π§ revision ranges get written asrev1[..[rev2]]. and those revisions? they can be standard Git revision specifiers or patches β either one slays π-s,--statβ shows the stat instead of the diff. sometimes you don't want the whole essay, you just want the summary, and that's valid πΈ-O <option>,--diff-opt=<option>β passes an extra<option>through togit diffπ₯ go peep thegit-diff(1)man page for the deets. and yes bestie, you can specify this one multiple times β stack 'em up β
π STGIT π
this is part of the StGit suite β check out stg(1) for the whole friend group π
ngl, that's the entire page β short, sweet, and absolutely ate π
and that's the tea fr fr π this was StGit 2.7.0, dated 10/17/2026 β mwah, go diff something iconic 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