Zam*_*col 15
正确答案是:
git tag --sort=-taggerdate
Run Code Online (Sandbox Code Playgroud)
taggerdate
是适当的领域.根据git标签手册页:
前缀
-
按值的降序排序.
git tag
使用相同的排序键git-for-each-ref
,这是排序键记录的位置.
ops*_*dao 13
在git 2.3.3中我可以这样做以按日期排序:
git tag --sort version:refname
Run Code Online (Sandbox Code Playgroud)
Tot*_*tor 10
简单易记:
git log --tags --decorate --simplify-by-decoration
Run Code Online (Sandbox Code Playgroud)
更容易阅读结果:
git log --tags --simplify-by-decoration --pretty="format:%d - %cr"
Run Code Online (Sandbox Code Playgroud)