The current branch name convention looks like this:
feature/NEU-123 I try to create a git hook to prepend a commit message, that the commit looks like this:
NEU-123: commit message I have no experience in creating scripts like this. That's why I don't have a starting point and need to try out your approaches.
I've looked up a few Stackoverflow entries but I can't find anything about this specific naming convention. Also it would be great, if I am on the master branch, or any branch with just a single word branch name, that the complete branch name is prepended.
Already thanks for your help.