title: How to automatically update git hooks?
body: <p>So, the only hook I use is the post-receive.  When I edit this file on my client, I want it to automatically update when I push to the server.</p>
  
  <p>I tried 3 things all of which did not work.  In the post-receive hooks I </p>
  
  <ol>
  <li>symbolically linked to the file in the repo</li>
  <li>hard linked to the file in the repo</li>
  <li>finally, copied the file from the repo into the hooks directory.</li>
  </ol>
  
  <p>So, I keep a copy of this file in my repository, but I want it to automatically deploy.</p>
  
  <p>I think the main issue with the methods I try is that the file is being used when I try to update it, that is, it is acting upon itself.</p>
  
  <p>Is there a defacto way to do this?</p>