man-pages/man1/git-mktag.1.html
2021-03-31 01:06:50 +01:00

96 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GIT-MKTAG</TITLE>
</HEAD><BODY>
<H1>GIT-MKTAG</H1>
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
git-mktag - Creates a tag object
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<I>git mktag</I>
</PRE>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Reads a tag contents on standard input and creates a tag object that can also be used to sign other objects.
<P>
The output is the new tag's &lt;object&gt; identifier.
<A NAME="lbAE">&nbsp;</A>
<H2>TAG FORMAT</H2>
<P>
A tag signature file, to be fed to this command's standard input, has a very simple fixed format: four lines of
<P>
<DL COMPACT><DT id="1"><DD>
<PRE>
object &lt;sha1&gt;
type &lt;typename&gt;
tag &lt;tagname&gt;
tagger &lt;tagger&gt;
</PRE>
</DL>
<P>
followed by some <I>optional</I> free-form message (some tags created by older Git may not have <B>tagger</B> 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't care about, but that can be verified with gpg.
<A NAME="lbAF">&nbsp;</A>
<H2>GIT</H2>
<P>
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAE">TAG FORMAT</A><DD>
<DT id="6"><A HREF="#lbAF">GIT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:14 GMT, March 31, 2021
</BODY>
</HTML>