1STG-ID(1) StGit Manual STG-ID(1)
2
3
4
6 stg-id - Print the git hash value of a StGit reference
7
9 stg id [options] [--] [<id>]
10
12 Print the SHA1 value of a Git id (defaulting to HEAD). In addition to
13 the standard Git id’s like heads and tags, this command also accepts
14 [<branch>:]<patch> for the id of a patch, [<branch>:]{base} for the
15 base of the stack and [<branch>:]{public} for the public branch
16 corresponding to the stack (see the publish command for details). If no
17 branch is specified, it defaults to the current one. The bottom of a
18 patch is accessible with the [<branch>:]<patch>^ format.
19
21 Part of the StGit suite - see stg(1)
22
23
24
25StGit 0.23 07/29/2020 STG-ID(1)