STG-LOG(1)

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

okay so you're looking at stg-log from the StGit manual β€” yes, that StGit β€” and honestly? she's giving history-keeper realness. let's get into it 🫢


✨ NAME ✨

stg-log β€” display or optionally clear the stack changelog πŸ‘‘

🌸 SYNOPSIS 🌸

stg log [OPTIONS] [--] [patch]...
stg log --clear

πŸ¦‹ DESCRIPTION πŸ¦‹

So stg-log shows you the history of changes to the stack. Literally the receipts of your stack's glow-up journey πŸ’–

If you give it one or more patch names, it only shows the changes affecting those patches. like, filter by main character, periodt.

The stg-undo(1) and stg-redo(1) commands may be used to step back and forth through historical stack states. cute lil time machine energy ⏳✨ The stg-reset(1) command may be used to reset the stack directly to a historic state β€” skipping the stepping, going straight to the vibe.

The --clear option may be used to delete the stack's change history. Undo and redo are unavailable on a stack without change history. Clearing the stack state history cannot be undone πŸ˜­πŸ’€ β€” like, not "oops undo" cannot be undone. it is gone gone. no cap.

bestie warning: --clear deletes the stack's change history, and clearing the stack state history cannot be undone. undo and redo will be unavailable on a stack without change history. protect your history like you protect your peace 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -b <branch>, --branch=<branch> β€” use <branch> instead of the current branch. not me cheating on my current branch, but okay πŸ’…
  • -d, --diff β€” show stack state diffs. the before-and-after pics of your stack πŸ“Έ
  • -n <n>, --number=<n> β€” limit output to <n> commits. portion control, bestie πŸ“
  • -f, --full β€” show using the full commit log format. full glam, no cropping πŸ‘‘
  • -g, --graphical β€” run gitk instead of printing to stdout. we're going GUI mode, iconic behavior πŸ–₯️✨
  • --clear β€” clear the stack history. this is the big red button, and it is not reversible. undo and redo are unavailable on a stack without change history. proceed with main character confidence and also caution πŸ’€πŸ”₯

🌈 STGIT 🌈

Part of the StGit suite β€” see stg(1) πŸ’–


made with love by the StGit girlies: StGit 2.7.0, dated 10/17/2026 πŸŽ€πŸ¦‹βœ¨ iykyk, and remember: read the manual, slay the stack. periodt πŸ’…

πŸ“¦ where this page comes from