STG-ID(1)                       StGit Manual                       STG-ID(1)

NAME         top

       stg-id - Print the git hash value of a StGit reference

SYNOPSIS         top

       stg id [options] [--] [<id>]

DESCRIPTION         top

       Print the SHA1 value of a Git id (defaulting to HEAD). In addition to
       the standard Git id’s like heads and tags, this command also accepts
       [<branch>:]<patch> for the id of a patch, [<branch>:]{base} for the
       base of the stack and [<branch>:]{public} for the public branch
       corresponding to the stack (see the publish command for details). If
       no branch is specified, it defaults to the current one. The bottom of
       a patch is accessible with the [<branch>:]<patch>^ format.

STGIT         top

       Part of the StGit suite - see stg(1)

COLOPHON         top

       This page is part of the stgit (Stacked Git) project.  Information
       about the project can be found at ⟨⟩.
       If you have a bug report for this manual page, see
       ⟨⟩.  This page was obtained from the
       project's upstream Git repository ⟨⟩ on
       2017-11-25.  (At that time, the date of the most recent commit that
       was found in the repository was 2017-10-14.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

StGit                            11/25/2017                        STG-ID(1)

Pages that refer to this page: stg(1)stg-diff(1)