ON A SERVER
I created a git repo in the working directory of my web-app /html.
To create a git 'host' repo, I ran
git clone --bare html html.git
.I now have a git 'host' repo and a git 'client' repo on the remote server at /html.git (host) & /html (client).
I want to push from my local machine to the server and not have to do a git pull
ON THE SERVER.
ON MY LOCAL MACHINE
When I push from my local machine to the remote 'host' repo, I want to use the post-receive hook to run a git pull
on the remote 'client' repo.
Is this possible or is this the easiest way of doing this?
Going to be trying to use this method: http://toroid.org/ams/git-website-howto