STG-HELP(1)

okay bestie, you’re on the STG-HELP(1) page from the StGit Manual, and this one is literally the help command doing help-ception πŸŒ€πŸ’… It’s giving β€œprint this message or the help of the given subcommand(s)”, and it ate ✨

πŸŽ€ NAME πŸŽ€

  • stg-help β€” Print this message or the help of the given subcommand(s) πŸ’–

✨ SYNOPSIS ✨

Here’s the whole invocation buffet, exactly as written β€” copy-paste girlies, this one’s for you:

stg help branch --list
stg help branch --create
stg help branch --clone
stg help branch --rename
stg help branch --protect
stg help branch --unprotect
stg help branch --delete
stg help branch --cleanup
stg help branch --describe
stg help clean
stg help commit
stg help completion bash
stg help completion fish
stg help completion zsh
stg help completion list aliases
stg help completion list commands
stg help completion list commands-and-aliases
stg help completion man
stg help delete
stg help diff
stg help edit
stg help email format
stg help email send
stg help export
stg help files
stg help float
stg help fold
stg help goto
stg help hide
stg help id
stg help import
stg help init
stg help log
stg help name
stg help new
stg help next
stg help patches
stg help pick
stg help pop
stg help prev
stg help pull
stg help push
stg help rebase
stg help redo
stg help refresh
stg help rename
stg help repair
stg help reset
stg help series
stg help show
stg help sink
stg help spill
stg help squash
stg help sync
stg help top
stg help uncommit
stg help undo
stg help unhide
stg help version
stg help help

πŸ’… DESCRIPTION πŸ’…

Print this message or the help of the given subcommand(s).

No cap: that’s the whole description. Short, iconic, and literally the help command helping you help πŸ’–

πŸ‘‘ COMMANDS πŸ‘‘

Here’s the command roster, bestie β€” every entry is here with its original one-line meaning, just with a little more main-character energy:

  • branch --list β€” lists the branches in this repository 🌿
  • branch --create β€” creates a new branch and switches to it, slay ✨
  • branch --clone β€” clones the contents of the current branch 🧬
  • branch --rename β€” renames an existing branch 🏷️
  • branch --protect β€” prevents StGit from modifying a branch πŸ›‘οΈ
  • branch --unprotect β€” allows StGit to modify a previously protected branch πŸ”“
  • branch --delete β€” deletes a branch πŸ’€
  • branch --cleanup β€” removes the StGit patch stack from the branch 🧹
  • branch --describe β€” sets the branch description πŸ“
  • clean β€” deletes empty patches from the series 🧽
  • commit β€” finalizes patches to the stack base 🎯
  • completion bash β€” generates the bash completion script 🐚
  • completion fish β€” generates the fish shell completion script 🐟
  • completion zsh β€” generates the zsh completion script 🌊
  • completion list aliases β€” lists aliases 🏷️
  • completion list commands β€” lists StGit commands πŸ“‹
  • completion list commands-and-aliases β€” lists StGit commands and aliases πŸ‘―
  • completion man β€” generates asciidoc man pages πŸ“š
  • delete β€” deletes patches πŸ—‘οΈ
  • diff β€” shows a diff πŸ”
  • edit β€” edits a patch ✏️
  • email format β€” formats patches as email files πŸ“§
  • email send β€” sends patches as emails πŸ“¨
  • export β€” exports patches to a directory πŸ“¦
  • files β€” shows files modified by a patch πŸ“‚
  • float β€” pushes patches to the top, even if applied 🎈
  • fold β€” folds a diff file into the current patch 🫢
  • goto β€” goes to a patch by pushing or popping as necessary πŸšͺ
  • hide β€” hides patches in the series πŸ™ˆ
  • id β€” prints the git hash of a StGit revision πŸ†”
  • import β€” imports patches to the stack πŸ“₯
  • init β€” initializes a StGit stack on a branch 🌱
  • log β€” displays the stack changelog, or optionally clears it πŸ“œ
  • name β€” prints the patch name of a StGit revision 🏷️
  • new β€” creates a new patch at the top of the stack 🌟
  • next β€” prints the name of the next patch ➑️
  • patches β€” shows patches that modify files 🧩
  • pick β€” imports a patch from another branch or a commit object πŸ’
  • pop β€” pops (unapplies) one or more applied patches 🫧
  • prev β€” prints the name of the previous patch ⬅️
  • pull β€” pulls changes from a remote repository πŸ“‘
  • push β€” pushes (applies) one or more unapplied patches πŸš€
  • rebase β€” moves the stack base to another point in history πŸ”
  • redo β€” undoes the last undo operation ♻️
  • refresh β€” incorporates worktree changes into the current patch πŸ”„
  • rename β€” renames a patch 🏷️
  • repair β€” repairs the stack after the branch is modified with git commands πŸ› οΈ
  • reset β€” resets the patch stack to an earlier state βͺ
  • series β€” displays the patch series πŸ“š
  • show β€” shows patch commits πŸ‘€
  • sink β€” moves patches deeper in the stack ⬇️
  • spill β€” spills changes from the topmost patch πŸ₯€
  • squash β€” squashes two or more patches into one 🧠
  • sync β€” synchronizes patches with a branch or a series πŸ”—
  • top β€” prints the name of the top patch πŸ”
  • uncommit β€” converts regular Git commits into StGit patches 🧚
  • undo β€” undoes the last command ↩️
  • unhide β€” unhides hidden patches πŸ‡
  • version β€” prints version information and exits 🏁

🌈 STGIT 🌈

Part of the StGit suite - see stg(1) 🫢

This page is StGit 2.7.0, dated 10/17/2026 β€” mwah, go forth and stg help πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from