tags:

views:

31

answers:

2

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.

+1  A: 

To show commits since TAG to current head:

git log TAG..HEAD

Between two commits:

git log TAG..TAG

For formatting the log output have a look at Pretty formats section of git log.

Igor Zevaka
This lists more than just titles. See my answer.
Dominic Cooney
+3  A: 

If your tags are LastRelease and NextRelease then do git log --pretty=format:%s LastRelease..NextRelease.

Dominic Cooney
Exactly what I was looking for. Thanks!
chrispix