Consider the following commit history:
1---R---3---5---P-> # patch-v1.1
\ \
2---4---+---8---+---10---R-> # release-v2.0
\ /
6---7---9 # feature-foo
--> time
# 1 - 10 are commits
# P is a patch release commit
# R are major release commits
# + marks a merge commit
I want to generate the changelog for release-v2.0
, but since P (patch-v1.1)
has already been released, it's changes should not be part of the v2.0
changelog. Can I configure the git log
command to only list commits 2, 4, 6 .. 11
(i.e., commits from release-v2.0
and feature-foo
)?
patch-v1.1
commits into therelease-v2.0
branch. – Proctogit log P..R
? – Ragnar2, 4, 6 and 7
as well? They chronologically happened beforeP
. – Proctogit help rev-parse
(SPECIFYING RANGES). – Ragnar