1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "GIT-TAG" 1 "" "" ""
22 git-tag \- Create a tag object signed with GPG
26 git\-tag [\-a | \-s | \-u <key\-id>] [\-f | \-d] [\-m <msg>] <name> [<head>]
31 Adds a tag reference in \&.git/refs/tags/
34 Unless \-f is given, the tag must not yet exist in \&.git/refs/tags/ directory\&.
37 If one of \-a, \-s, or \-u <key\-id> is passed, the command creates a tag object, and requires the tag message\&. Unless \-m <msg> is given, an editor is started for the user to type in the tag message\&.
40 Otherwise just the SHA1 object name of the commit object is written (i\&.e\&. a lightweight tag)\&.
43 A GnuPG signed tag object will be created when \-s or \-u <key\-id> is used\&. When \-u <key\-id> is not used, the committer identity for the current user is used to find the GnuPG key for signing\&.
46 \-d <tag> deletes the tag\&.
52 Make an unsigned, annotated tag object
56 Make a GPG\-signed tag, using the default e\-mail address's key
60 Make a GPG\-signed tag, using the given key
64 Replace an existing tag with the given name (instead of failing)
68 Delete an existing tag with the given name
72 Use the given tag message (instead of prompting)
77 Written by Linus Torvalds <torvalds@osdl\&.org>, Junio C Hamano <junkio@cox\&.net> and Chris Wright <chrisw@osdl\&.org>\&.
82 Documentation by David Greaves, Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
87 Part of the \fBgit\fR(7) suite