I have a bare repo server-side, and I am able to successfully commit and push from my local machine. However, the post-receive hook is not running. Details:
Seems GIT will NOT run the post-receive hook if there are no changes to the code base.
In my case,
The post hook was not getting executed, but the "push" operation kept returning the following message.
Everything up-to-date
So I just created an empty file in my code, did commit and then pushed to remote. On which the post-receive hook got executed.