How do I show just the names and commit titles since a tag in Git?

后端 未结 5 1473
逝去的感伤
逝去的感伤 2021-01-30 08:32

I\'m trying to use tags for release management in Git—I create a tag for each release. I\'d like to be able to create release notes by listing the comment titles for every commi

5条回答
  •  遥遥无期
    2021-01-30 08:52

    If your tags are named LastRelease and NextRelease then do

    git log --pretty=format:%s LastRelease..NextRelease .

提交回复
热议问题