Git Hook - Make server pull after I push to github
问题 I have a local repository, and I have set up another repository on my live server: www.site.com/projects/ProjectA What I want to achieve is very simple: After I PUSH to GitHub, I want the repository at www.site.com/projects/ProjectA to PULL - hence update the live version of the project, that my client can see. I've been reading tons about hooks and I cannot find a very simple example for what I need. All tutorials are made for advanced functionality. What I have done I have the SSH access