Skip to content

Commit

Permalink
Merge branch 'ds/doc-two-kinds-of-tags'
Browse files Browse the repository at this point in the history
* ds/doc-two-kinds-of-tags:
  docs/git-tag: explain lightweight versus annotated tags
  • Loading branch information
Junio C Hamano committed Jul 31, 2013
2 parents 5ecc4b5 + 29d5553 commit 652d2bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/git-tag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down

0 comments on commit 652d2bf

Please sign in to comment.