title: How to prepend partial branch name to git commit with husky
body: <p>I have a functional <code>commit-msg</code> git hook that takes the string from beginning up to the first underscore from a git branch's name and prepends it to the commit message.</p>
  <p>For better understanding: The branch name is <code>JIRA-123_fix_problem</code>, the commit command goes: <code>git commit -m 'Fix problem'</code> and through the <code>commit-msg</code> hook the commit message will automatically be changed into <code>JIRA-123: Fix problem</code>.</p>
  <p>Now we're using <strong>Nuxt</strong> for our current <strong>Vuejs</strong> project and this makes use of <strong>husky</strong>. We want to keep <strong>husky</strong> in this project. Unfortunately (and, I guess, intentionally), <strong>husky</strong> works by overwriting the git commit hooks, and thus the file <code>.git/hooks/commit-msg</code> I use will be overwritten by <strong>husky</strong> and the original <code>commit-msg</code> hook does not work any more.</p>
  <p>How can I either prevent <strong>husky</strong> from overwriting the <code>commit-msg</code> hook or instruct <strong>husky</strong> to do the same thing?</p>
  <p>I can't find any documentation for this problem.</p>