I'm trying to notify Trello with the last commits pushed when a push is made (and thus a deployment through the pipeline).
For getting the last commits messages I'm using:
git log --format='- %B' --no-merges HEAD^..HEAD
but it's only getting my last commit, not the total of commits I did for the last push.
Is it possible to get all the commit messages related to the last push?