Git · Middle · Question 25 of 75

Annotated vs lightweight tags: what's the difference?

Explanation

A lightweight tag is just a ref to a commit. Use annotated (or signed) tags for releases: they record who tagged and when, and git describe uses them by default.

Further reading

Problem with a question

Git · Middle · question 25

Test yourself

Take the Git · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz