`git tag` sorted in chronological order of the date of the commit pointed to

前端 未结 7 1749
礼貌的吻别
礼貌的吻别 2020-12-13 12:44

The output from git tag is ordered alphabetically. I would like it to be ordered chronological (the date of the commits they are assigned to, not the date on wh

7条回答
  •  醉酒成梦
    2020-12-13 13:09

    git log --date-order --tags --simplify-by-decoration --pretty=format:"%ci %d"
    

提交回复
热议问题