6 git-tag - Create a tag object signed with GPG
11 'git-tag' [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <name> [<head>]
16 Make an unsigned, annotated tag object
19 Make a GPG-signed tag, using the default e-mail address's key
22 Make a GPG-signed tag, using the given key
25 Replace an existing tag with the given name (instead of failing)
28 Delete an existing tag with the given name
31 Use the given tag message (instead of prompting)
35 Adds a 'tag' reference in .git/refs/tags/
37 Unless `-f` is given, the tag must not yet exist in
38 `.git/refs/tags/` directory.
40 If one of `-a`, `-s`, or `-u <key-id>` is passed, the command
41 creates a 'tag' object, and requires the tag message. Unless
42 `-m <msg>` is given, an editor is started for the user to type
45 Otherwise just the SHA1 object name of the commit object is
46 written (i.e. a lightweight tag).
48 A GnuPG signed tag object will be created when `-s` or `-u
49 <key-id>` is used. When `-u <key-id>` is not used, the
50 committer identity for the current user is used to find the
51 GnuPG key for signing.
53 `-d <tag>` deletes the tag.
58 Written by Linus Torvalds <torvalds@osdl.org>,
59 Junio C Hamano <junkio@cox.net> and Chris Wright <chrisw@osdl.org>.
63 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
67 Part of the gitlink:git[7] suite