]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-mktag.txt
user-manual: use -o latest.tar.gz to create a gzipped tarball
[thirdparty/git.git] / Documentation / git-mktag.txt
CommitLineData
2cf565c5
DG
1git-mktag(1)
2============
2cf565c5
DG
3
4NAME
5----
6git-mktag - Creates a tag object
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
b1889c36 12'git mktag' < signature_file
2cf565c5
DG
13
14DESCRIPTION
15-----------
c1bdacf9
DG
16Reads a tag contents on standard input and creates a tag object
17that can also be used to sign other objects.
18
19The output is the new tag's <object> identifier.
20
21Tag Format
22----------
6cfec036 23A tag signature file has a very simple fixed format: four lines of
c1bdacf9
DG
24
25 object <sha1>
26 type <typename>
27 tag <tagname>
6cfec036 28 tagger <tagger>
c1bdacf9 29
6cfec036
JH
30followed by some 'optional' free-form message (some tags created
31by older git may not have `tagger` line). The message, when
32exists, is separated by a blank line from the header. The
33message part may contain a signature that git itself doesn't
34care about, but that can be verified with gpg.
2cf565c5 35
2cf565c5
DG
36GIT
37---
9e1f0a85 38Part of the linkgit:git[1] suite