2005-09-08 08:26:23 +08:00
|
|
|
git-tag(1)
|
|
|
|
==========
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 08:26:23 +08:00
|
|
|
git-tag - Create a tag object signed with GPG
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-11-08 18:44:33 +08:00
|
|
|
'git-tag' [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <name> [<head>]
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-10-07 05:10:39 +08:00
|
|
|
Adds a 'tag' reference in .git/refs/tags/
|
2005-07-25 14:17:16 +08:00
|
|
|
|
2005-10-07 05:10:39 +08:00
|
|
|
Unless `-f` is given, the tag must not yet exist in
|
|
|
|
`.git/refs/tags/` directory.
|
2005-07-25 14:17:16 +08:00
|
|
|
|
2005-10-07 05:10:39 +08:00
|
|
|
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.
|
2005-07-25 14:17:16 +08:00
|
|
|
|
2005-10-07 05:10:39 +08:00
|
|
|
Otherwise just the SHA1 object name of the commit object is
|
|
|
|
written (i.e. an lightweight tag).
|
|
|
|
|
|
|
|
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.
|
2005-05-11 05:32:30 +08:00
|
|
|
|
2005-11-08 18:44:33 +08:00
|
|
|
`-d <tag>` deletes the tag.
|
|
|
|
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
2005-08-15 08:24:36 +08:00
|
|
|
Written by Linus Torvalds <torvalds@osdl.org>,
|
|
|
|
Junio C Hamano <junkio@cox.net> and Chris Wright <chrisw@osdl.org>.
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 18:10:51 +08:00
|
|
|
Part of the gitlink:git[7] suite
|