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

后端 未结 5 1474
逝去的感伤
逝去的感伤 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:57

    You should look into git shortlog. Here's an example of the output:

    $ git shortlog
    Al Jones (512):
          Added to .gitignore file
          Updated user model
    
    Bob Smith (222):
          Minor tweak to view
          Updated accounts controller
    
    Charles West (321):
          Started specs for user model
          Finished specs for user model
    

    For your case you would want to run git shortlog LastRelease..NextRelease

提交回复
热议问题