Scroll to navigation

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

NAME

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

SYNOPSIS

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

DESCRIPTION

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 and [<branch>:]{base} for the base of the stack. 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)

03/27/2022 StGit 1.5