Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
598 views
in Technique[技术] by (71.8m points)

git command to show all (lightweight) tags creation dates

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...