title: Git commit: disable opening editor
body: <p><code>git commit</code> has a <code>--no-edit</code> flag which will "use the selected commit message without launching an editor".</p>
  
  <p>For example, when <code>git merge</code> produces conflicts, after these have been resolved running <code>git commit --no-edit</code> will commit without opening the editor, using to the default merge commit message.</p>
  
  <p>I want a way to permanently enforce this behaviour so I don't have to specify <code>--no-edit</code> each time I run <code>git commit</code>.</p>
  
  <p>I can find an equivalent setting for <a href="https://stackoverflow.com/a/12752465/5932012"><code>git merge</code></a>, but nothing for <code>git commit</code>.</p>