summaryrefslogtreecommitdiff
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-31 19:38:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-31 19:38:21 (GMT)
commit652d2bfa83e92d871eb034e13fd811fbd402c3f1 (patch)
tree8677166b55947468619583f76b20f085e55b0306 /Documentation/git-tag.txt
parent5ecc4b53f77d939dfad2819658cc51f4053a03f3 (diff)
parent29d55538b78fa8d916b99aef9a4b1e376df2dac0 (diff)
downloadgit-652d2bfa83e92d871eb034e13fd811fbd402c3f1.zip
git-652d2bfa83e92d871eb034e13fd811fbd402c3f1.tar.gz
git-652d2bfa83e92d871eb034e13fd811fbd402c3f1.tar.bz2
Merge branch 'ds/doc-two-kinds-of-tags'
* ds/doc-two-kinds-of-tags: docs/git-tag: explain lightweight versus annotated tags
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 22894cb..c418c44 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -42,6 +42,17 @@ committer identity for the current user is used to find the
GnuPG key for signing. The configuration variable `gpg.program`
is used to specify custom GnuPG binary.
+Tag objects (created with `-a`, `s`, or `-u`) are called "annotated"
+tags; they contain a creation date, the tagger name and e-mail, a
+tagging message, and an optional GnuPG signature. Whereas a
+"lightweight" tag is simply a name for an object (usually a commit
+object).
+
+Annotated tags are meant for release while lightweight tags are meant
+for private or temporary object labels. For this reason, some git
+commands for naming objects (like `git describe`) will ignore
+lightweight tags by default.
+
OPTIONS
-------