码迷,mamicode.com
首页 > 其他好文 > 详细

git 取得两个 tag 之间的 commit

时间:2020-01-21 13:17:46      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:title   not   its   --   tag   复制   comm   one   ble   

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

git 取得两个 tag 之间的 commit

标签:title   not   its   --   tag   复制   comm   one   ble   

原文地址:https://www.cnblogs.com/kekemuyu/p/12221333.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!