function cm will strip any pull request from the branch name to avoid invalid commit messages