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

后端 未结 5 1520
逝去的感伤
逝去的感伤 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 09:08

    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.

提交回复
热议问题