title: Is there a way to programmatically add some default message to git commit?
body: <p>I am trying to auto generate my commit message title fetching directly from Phrabricator or Jira.</p>
  
  <p>I have a bash script that does a http call and get the title. </p>
  
  <p>I know you can have a commit template for each commit message.</p>
  
  <p>eg.</p>
  
  <p><code>~/.gitconfig</code></p>
  
  <pre><code>[commit]
      template = ~/.gitmessage
  </code></pre>
  
  <p><code>~/.gitmessage</code></p>
  
  <pre><code>Some template for user
  </code></pre>
  
  <p>But is it possible to dynamically generate commit template using bash or python scripts?</p>