<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<article lang="en" id="git-mktag(1)">
<articleinfo>
    <title>git-mktag(1)</title>
        <indexterm>
                <primary>git-mktag(1)</primary>
        </indexterm>
</articleinfo>
<simplesect id="_name">
<title>NAME</title>
<simpara>git-mktag - Creates a tag object</simpara>
</simplesect>
<simplesect id="_synopsis">
<title>SYNOPSIS</title>
<simpara><emphasis>git mktag</emphasis> &lt; signature_file</simpara>
</simplesect>
<simplesect id="_description">
<title>DESCRIPTION</title>
<simpara>Reads a tag contents on standard input and creates a tag object
that can also be used to sign other objects.</simpara>
<simpara>The output is the new tag&#8217;s &lt;object&gt; identifier.</simpara>
</simplesect>
<simplesect id="_tag_format">
<title>Tag Format</title>
<simpara>A tag signature file has a very simple fixed format: four lines of</simpara>
<literallayout class="monospaced">object &lt;sha1&gt;
type &lt;typename&gt;
tag &lt;tagname&gt;
tagger &lt;tagger&gt;</literallayout>
<simpara>followed by some <emphasis>optional</emphasis> free-form message (some tags created
by older git may not have <literal>tagger</literal> line).  The message, when
exists, is separated by a blank line from the header.  The
message part may contain a signature that git itself doesn&#8217;t
care about, but that can be verified with gpg.</simpara>
</simplesect>
<simplesect id="_author">
<title>Author</title>
<simpara>Written by Linus Torvalds &lt;<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_documentation">
<title>Documentation</title>
<simpara>Documentation by David Greaves, Junio C Hamano and the git-list &lt;<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>&gt;.</simpara>
</simplesect>
<simplesect id="_git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
</simplesect>
</article>
