git命令显示所有(轻量级)标签创建日期 [英] git command to show all (lightweight) tags creation dates
本文介绍了git命令显示所有(轻量级)标签创建日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么东西: git显示标签 - 格式=日期
?
解决方案
我发现在这个链接适合我需要的解决方案:
git log --tags --simplify-by-decoration --pretty =format:%ai%d
我把这个命令放在我的〜/ .alias
中的别名中,所以现在每次运行 gitshowtagbydate
我得到了我需要的。
Is there a one liner that shows me the dates where all git lightweight tags where created ?
Something like: git show tags --format=date
?
解决方案
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.
这篇关于git命令显示所有(轻量级)标签创建日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文