`
scm002
  • 浏览: 311348 次
社区版块
存档分类
最新评论

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics