This has already been asked here , but did not answer him, as far as I can tell.
I am writing a script to automate a git workflow. When a topic branch is created, it automatically creates a github problem, referring to it - is there a way to automatically add this problem number to all commits made in this thread? I think there might be a way to use git hooks, but I can't find it.
I know that manually adding #xxx to the beginning of each commit message will do this; what interests me (and what was never answered in the original question) is, if there is a way, that it will be added automatically.
source share