查看git tag标签创建时间

参考:https://cloud.tencent.com/developer/ask/72547

           https://www.softwhy.com/article-8596-1.html

1、查看所有基线

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


2、获取当前分支的基础基线(根据基线关键词搜索基线)

git tag -l *branch* --sort=committerdate

 

比如git tag -l *202006* --sort=committerdate

代表根据提交日期排序,名称包含202006的tag列表

 
posted @ 2021-03-31 16:57  coco9821  阅读(2730)  评论(0编辑  收藏  举报