What is the difference between an annotated and unannotated tag?

Viewed 148993

If I want to tag the current commit. I know both of the following command lines work:

git tag <tagname>

and

git tag -a <tagname> -m '<message>'

What is the difference between these commands?

3 Answers
Related