<?xml version="1.0" encoding="UTF-8"?>
<guide>
  <body>&lt;h2&gt;Why am I getting &amp;#8220;fatal: no commit message?  aborting commit.&amp;#8221;?&lt;/h2&gt;
&lt;p&gt;Git needs to wait for TextMate to close the commit log message file.  You do so by using &amp;#8220;mate -w&amp;#8221;.  There are many ways to set the editor that git uses; according to the git docs: &amp;#8220;The editor used to edit the commit log message will be chosen from the GIT_EDITOR environment variable, the core.editor configuration variable, the &lt;span class=&quot;caps&quot;&gt;VISUAL&lt;/span&gt; environment variable, or the &lt;span class=&quot;caps&quot;&gt;EDITOR&lt;/span&gt; environment variable (in that order).&amp;#8221;  You can set it like so:&lt;br /&gt;
&lt;code&gt;git config --global core.editor &quot;mate -w&quot;&lt;/code&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2008-07-22T15:42:42-07:00</created-at>
  <id type="integer">64</id>
  <permalink>issues-with-textmate-set-as-git-editor</permalink>
  <title>Issues with TextMate set as git editor</title>
  <updated-at type="datetime">2009-08-27T21:46:59-07:00</updated-at>
  <user-id type="integer">43212</user-id>
</guide>
