I\'m implementing this approach to send updates to my website:
created bare repository to push to
$ mkdir website.git && cd website.git $ git
cd .git/hooks mv post-receive post-receive-inner
now create a new post-receive:
post-receive
#!/bin/bash set -x ./post-receive-inner "$@" 1>/tmp/git.log 2>&1
Make this executable and try again, the results should end up in /tmp/git.log
/tmp/git.log