打算编写一个基于git提交记录自动生成版本记录的脚本
git log --pretty=oneline tagA...tagB
(i.e. three dots)
If you just wanted commits reachable from tagB but not tagA:
git log --pretty=oneline tagA..tagB
(i.e. two dots)
or
git log --pretty=oneline ^tagA tagB
To style the output to your preferred pretty format, see the man page
for git-log
.
Example:
|
|