Stacked Git logo

Stacked Git



stg-series - Display the patch series


stg series [OPTIONS] [-A] [-U] [-H]
stg series [OPTIONS] --all
stg series [OPTIONS] --short
stg series [OPTIONS] <patch>…​


Show all the patches in the series, or just those in the given range, ordered from top to bottom.

The applied patches are prefixed with a + (except the current patch, which is prefixed with a >), the unapplied patches with a -, and the hidden patches with a !.

Empty patches are prefixed with a 0.


-b <branch>

Use BRANCH instead of current branch


Select all patches, including hidden patches


Select patches around the topmost patch only


Select the applied patches only


Select the unapplied patches only


Select the hidden patches only

-m <branch>

Select patches in <branch> not present in current branch


Display author name for each patch


Display the number of selected patches and exit


Display the commit id for each patch.

The optional length indicates how many prefix characters of the commit id to display. The default is "full", which displays the full commit id, but may alternatively be specified as a positive integer greater than or equal to 4.


Display short description for each patch


Do not display the patch description


Before the +, >, -, and ! prefixes, print a column that contains either 0 (for empty patches) or a space (for non-empty patches).


Do not display the patch status prefix


Display the branch name with the listed patches


Part of the StGit suite - see stg(1)