STG-PATCHES(1)

πŸ’… stg-patches πŸ’…

okay so real quick, this is a page from the StGit Manual β€” yes, that StGit β€” and it's about the stg-patches command. bestie, it's giving "which patches touched these files" energy and honestly? iconic.

✨ NAME ✨

stg-patches β€” show patches that modify files πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

stg patches [OPTIONS] [path]...

like, you give it some paths, it tells you things. simple as that, no cap.

🌸 DESCRIPTION 🌸

so the whole vibe here is: it shows the applied patches that modify the paths you hand it. that's it, that's the main character move.

and if you're like "um, I don't feel like typing paths today" β€” valid! without any path arguments, it just uses the files modified in the working tree as the paths. lowkey convenient tbh. πŸ’–

ngl, note the word applied β€” that's doing a lot of work in this sentence, so don't come for me when unapplied patches don't show up. πŸ™ˆ

🌈 OPTIONS 🌈

  • -b <branch>, --branch=<branch> β€” use <branch> instead of the current branch 🧚 like, go look over there instead of here, bestie.
  • -d, --diff β€” show the diff for the given paths. yes girl, show me the actual changes ✨
  • -O <option>, --diff-opt=<option> β€” pass an additional <option> straight through to git diff πŸ”₯

see the git-diff(1) man page if you wanna know what those options do. and yes β€” this one may be specified multiple times, so stack 'em up like your skincare routine πŸ’…

πŸ‘‘ STGIT πŸ‘‘

part of the StGit suite β€” see stg(1) 🫢 it's a whole family, this one's just your fave cousin.


and that's the tea β˜• this page is from StGit 2.7.0, dated 10/17/2026 β€” periodt, go patch something gorgeous πŸ’œβœ¨

πŸ“¦ where this page comes from