summaryrefslogtreecommitdiffstats
path: root/git-tag.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-02-15 22:08:33 +0000
committerJunio C Hamano <junio@kernel.org>2011-02-15 22:08:33 +0000
commit25c766e9a8b9605170ac163df933da0c7f0bc5ae (patch)
tree6c988ea184b3660b50f05a68e151dedc33ac1e4d /git-tag.txt
parent51f3c5a63233acabaf7cce74a8339d8a4ea77dd4 (diff)
downloadgit-htmldocs-25c766e9a8b9605170ac163df933da0c7f0bc5ae.tar.gz
Autogenerated HTML docs for v1.7.4.1-42-g43f9f
Diffstat (limited to 'git-tag.txt')
-rw-r--r--git-tag.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/git-tag.txt b/git-tag.txt
index 8b169e364..65f76c544 100644
--- a/git-tag.txt
+++ b/git-tag.txt
@@ -18,21 +18,22 @@ SYNOPSIS
DESCRIPTION
-----------
-Adds a tag reference in `.git/refs/tags/`.
+Add a tag reference in `.git/refs/tags/`, unless `-d/-l/-v` is given
+to delete, list or verify tags.
-Unless `-f` is given, the tag must not yet exist in
+Unless `-f` is given, the tag to be created must not yet exist in the
`.git/refs/tags/` directory.
If one of `-a`, `-s`, or `-u <key-id>` is passed, the command
-creates a 'tag' object, and requires the tag message. Unless
+creates a 'tag' object, and requires a tag message. Unless
`-m <msg>` or `-F <file>` is given, an editor is started for the user to type
in the tag message.
If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <key-id>`
are absent, `-a` is implied.
-Otherwise just the SHA1 object name of the commit object is
-written (i.e. a lightweight tag).
+Otherwise just a tag reference for the SHA1 object name of the commit object is
+created (i.e. a 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