Every git tutorial you look into has a clear opinion about tags: One should always use annotated tags, one of the reasons being that they are used by git describe
.
However, I don’t see anything bad in using git describe --tags
which also takes the unannotated tags as a reference point. Is there anything else that’s considered bad about unannotated tags?
I’m asking because I’ve just finished converting a SVN project to git. I was actually thinking about providing the tags with an annotation but what should I’ve put there if not an alarmingly redundant ‘Tagging release 1.5 for our project’ message (which had been used as an SVN comment already anyway)?
Annotated tags seem like a nice thing to me (you can tag things as a different author and might give a short description), but should you really use them even in cases when you don’t have anything meaningful to say apart from the original commit message?
or
In which situations are unannotated tags not frowned upon?
Edit: I’m not talking about signed annotated tags (I understand the advantage of having signed tags in some situations); I’m only concerned about the difference between unannotated and unsigned annotated.
Edit 2: Appending another question to broaden the scope somewhat and maybe get some insightful answers about the real-life best-bractices
When do you use unannotated tags and do you feel bad about it when you do?