I\'m trying to use this post-recieve hook to update my live server
GIT_WORK_TREE=/var/www/www.example.org git checkout -f
This hook is on the re
You will have to update your post-receive hook to get the files from the checkout folder in your git server and scp it to your live server.
GIT_WORK_TREE=/home/temp git checkout -f scp -r /home/temp user@liveserver:/var/www/www.example.org