'\" t .\" Title: stg-id .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/13/2012 .\" Manual: StGit Manual .\" Source: StGit .\" Language: English .\" .TH "STG\-ID" "1" "03/13/2012" "StGit" "StGit Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" stg-id \- Print the git hash value of a StGit reference .SH "SYNOPSIS" .sp .nf \fIstg\fR id [options] [id] .fi .SH "DESCRIPTION" Print the SHA1 value of a Git id (defaulting to HEAD)\&. In addition to the standard Git id\(cqs like heads and tags, this command also accepts \fI[:]\fR for the id of a patch, \fI[:]{base}\fR for the base of the stack and \fI[:]{public}\fR for the public branch corresponding to the stack (see the \fIpublish\fR command for details)\&. If no branch is specified, it defaults to the current one\&. The bottom of a patch is accessible with the \fI[:]^\fR format\&. .SH "STGIT" Part of the StGit suite \- see linkman:stg[1]