title: local git hook for "git remote update"?
body: <p>I have a local git repository, created with:</p>
  
  <pre><code>git clone --mirror git://github.com/&lt;user&gt;/&lt;project&gt;.git
  </code></pre>
  
  <p>Occasionally changes will get pushed to github, and this machine will pull them with:</p>
  
  <pre><code>git remote update --prune
  </code></pre>
  
  <p>This all works fine, but after the update, I want to run a hook, and I'm not sure which to run. I have tried "post-receive" and "post-merge", but neither seems to execute after the update. In both cases, the contents of the hook file are:</p>
  
  <pre><code>#!/bin/sh 
  echo foo &gt; foo.log
  </code></pre>
  
  <p>When I run them from the command-line via bash.exe (yes, on Windows), a foo.log file is created, so that works. But nothing happens as a result of the "git remote update". Between each "git remote update" I am pushing a useless change to make sure there's something to pull.</p>