git command to show all (lightweight) tags creation dates

Dror Cohen picture Dror Cohen · Aug 1, 2011 · Viewed 65.5k times · Source

Is there a one liner that shows me the dates where all git lightweight tags where created ?

Something like: git show tags --format=date ?

Answer

Dror Cohen picture Dror Cohen · Aug 1, 2011

I found in this link a solution that fits my needs:

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

I've put that command in an alias in my ~/.alias, so now everytime I run gitshowtagbydate I get what I needed.