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 commit since a tag, or between 2 tags. I can't seem to find any way to do this.
If your tags are named LastRelease
and NextRelease
then do
git log --pretty=format:%s LastRelease..NextRelease
.