git 取得两个 tag 之间的 commit

参考:http://stackoverflow.com/questions/5863426/get-commit-list-between-tags-in-git

 

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

猜你喜欢

转载自scm002.iteye.com/blog/2341272