STG-ID(1)

🌈 STG-ID(1) 🌈

hey bestie, welcome to the StGit Manual page for stg-id β€” it’s short, it’s useful, and it’s literally about getting a git hash πŸ’–


✨ NAME ✨

stg-id - Print git hash of a StGit revision

πŸŽ€ SYNOPSIS πŸŽ€

stg id [OPTIONS] [revision]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this one prints the hash β€” aka the object id β€” of a StGit revision. slay πŸ’…

In addition to standard Git revision specifiers (revspecs), patches may be of a stack. If no branch is specified, the current branch is used by default. The parent of a patch may be specified with [<branch>:]<patch>^.

πŸ’… OPTIONS πŸ’…

  • -b <branch>, --branch=<branch> β€” Use <branch> instead of current branch

🫢 STGIT 🫢

Part of the StGit suite β€” see stg(1)


mwah πŸ’‹ this lil page is from StGit 2.7.0, dated 10/17/2026 β€” STG-ID(1) and out, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from