I have a test project set up locally at;
~/development/test/
I have git initialised on it and I can push to my remote "test" repo fine. No issues with that.
I can run my post-update hook manually from the command line;
./post-update
It will launch a web browser because the file has the following contents;
#!/bin/bash
echo "Hook is running........."
python -mwebbrowser http://example.com
But when I do a git push -u origin master
the file just does not seem to run. None of what is in the bash script seems to happen.
I have the file permissions set up correctly as stated in this post
Any ideas on what else to try?