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

前端 未结 7 1718
礼貌的吻别
礼貌的吻别 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 12:51

    For information, to get it in reverse order, prefix it with "-"

    git tag --sort=-taggerdate
    

提交回复
热议问题