mingw: import poll-emulation from gnulib
[git/dscho.git] / Documentation / git-mktag.txt
blob8bcc11443dce7322ac5b0fa70e07b2465f762615
1 git-mktag(1)
2 ============
4 NAME
5 ----
6 git-mktag - Creates a tag object
9 SYNOPSIS
10 --------
11 'git mktag' < signature_file
13 DESCRIPTION
14 -----------
15 Reads a tag contents on standard input and creates a tag object
16 that can also be used to sign other objects.
18 The output is the new tag's <object> identifier.
20 Tag Format
21 ----------
22 A tag signature file has a very simple fixed format: four lines of
24   object <sha1>
25   type <typename>
26   tag <tagname>
27   tagger <tagger>
29 followed by some 'optional' free-form message (some tags created
30 by older git may not have `tagger` line).  The message, when
31 exists, is separated by a blank line from the header.  The
32 message part may contain a signature that git itself doesn't
33 care about, but that can be verified with gpg.
36 Author
37 ------
38 Written by Linus Torvalds <torvalds@osdl.org>
40 Documentation
41 --------------
42 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
44 GIT
45 ---
46 Part of the linkgit:git[1] suite