Skip to content

Is it possible to generate changelog from PR merge commit? #650

Answered by MeitarR
seriaati asked this question in Q&A
Discussion options

You must be logged in to vote

Yes!

git cliff receives a "commit range" as a parameter.

so you can do something like

git cliff --strip all main..dev

and you will get the output you wanted. the strip all part is to make sure that no header/footer is added to the output.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seriaati
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants