stg-id(1)

stg-id1

Print the git hash value of a stgit reference

Usage

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

Overview

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

Part of the StGit suite - see stg(1)

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8–9
  4. 10

From stgit 0.18-1 in Debian 10 (Buster). Parsed by carta from the page's man source.