How do I get commit messages between two branches?


#1

Hi

I’m looking for an api command on how to find commit message between two branches.

There is a similar question in https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Cloud-REST-API-to-list-all-commit-messages-between-two/qaq-p/676759

but the response is not what I am looking for.

I am really looking for the commit message when I compare branches (and not from master default branch)

it’s like doing:
https://bitbucket.org/myproj/myrepo/branches/compare/branch-1111 branch-2222

and just get the oneline commit message

thanks