git 取得两个 tag 之间的 commit

git log --pretty=oneline tagA...tagB
 

If you just wanted commits reachable from tagB but not tagA:

git log --pretty=oneline tagA..tagB    

or

git log --pretty=oneline ^tagA tagB
原文地址:https://www.cnblogs.com/kekemuyu/p/12221333.html