Examples of valid commit messages are listed below. You can test the regular expression above by copy/pasting it in https://regex101.com/ and tweaking your text until it matches the expression.
...
...
@@ -253,6 +254,9 @@ Merge remote branch into local branch:
>
> Some description.
Merge commit without text body:
> Merge branch '\<branch name\>' into '\<other branch name\>'