title: 'receive-pack': service not enabled for './.git'
body: <p>(Solved already, I'm writing this for the next guy)</p>
  
  <p>I was running git daemon on one computer and tried synchronizing with another.</p>
  
  <p>On computer A, I ran:</p>
  
  <pre><code>git daemon --reuseaddr --base-path=. --export-all --verbose
  </code></pre>
  
  <p>On computer B, I ran:</p>
  
  <pre><code>git clone git://computerA/.git source # worked
  cd source
  git pull # worked
  git push # failed with "fatal: The remote end hung up unexpectedly"
  </code></pre>
  
  <p>On computer A, the daemon output is:</p>
  
  <pre><code>[5596] Connection from 127.0.0.1:2476
  [5596] Extended attributes (16 bytes) exist &lt;host=localhost&gt;
  [5596] Request receive-pack for '/.git'
  [5596] 'receive-pack': service not enabled for './.git'
  [5444] [5596] Disconnected (with error)
  </code></pre>
  
  <p>I'm going to post the soultion I found. If you have a more complete answer, please go ahead and add it.</p>