Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to setup Git on my server so I can push my website changes. I am using git-dot-aspx and the push is working just fine. The problem is that the post-receive hook does not fire.

I renamed the file properly, double checked that it has execute permissions, searched for hours on Google, tested the post-receive script from the Git Bash successfully, and added an echo command to which returns nothing to the client doing the push so I am pretty sure that means the hook just never fires.

How can I get the post-receive hook to fire after I push to the server?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.