title: How to properly use post-receive hook?
body: <p>My directory structure is:</p>
  
  <p>~/parent.git/.git/hooks/post-receive</p>
  
  <p>The post-receive hook looks like:</p>
  
  <pre><code>#!/bin/sh
  git checkout -f
  </code></pre>
  
  <p>When I push into parent.git, the script does not run.  I can't figure out the problem, as every bit of the internet says this should work.</p>
  
  <p>I chmod'd post-receive, so I know that is not the problem.  Any help is much appreciated.</p>