Totor Totor - 2 months ago 13
Git Question

Show git tags sorted by date

How to list git tags in chronological order? (recent tags first)

git tag
only displays alphabetical order.

Answer

Simple to remember:

git log --tags --decorate --simplify-by-decoration

Easier to read result:

git log --tags --simplify-by-decoration --pretty="format:%d - %cr"
Comments