title: How can I manually run the hook post-receive on git?
body: <p>I've pushed a website to my remote server via Git but got the error</p>
  
  <pre><code>cannot run post-receive: No such file or directory
  </code></pre>
  
  <p>So the stuff is on the server, it has just not been deployed to my /public folder. </p>
  
  <p>I do however have a post-receive file so I am not sure why it was not found. Now I thought all I need to do is manually run this post-receive hook to do the checkout though I don't know how... </p>