title: Added a pre commit hook to central repo (or something similar)
body: <p>Ok, so I have figured out how to add a pre-commit hook that checks for a message that will reference a JIRA item.</p>
  
  <pre><code>#!/bin/sh
  test "" != "$(grep 'JIRA-' "$1")" || {
          echo &gt;&amp;2 "ERROR: Commit message is missing Jira issue number."
          exit 1
  }
  </code></pre>
  
  <p>I add this to my local repo and all cool. Every commit I make to it has this commit message.
  However, I am interested in the situation where there is a bunch of developers all committing to their local repos and then pushing / pulling to a remote master on GitHub. What I'd like is a similar mechanism for when the push changes to the remote repo on GitLab that they have to similarly reference a JIRA.</p>
  
  <p>What is a good way to do this?</p>