githooks - pull hook after pushing to a git repo -


when 1 pushes specific branch in git repository want automatically pulled web server directory on same machine.

it looks post-receive hook in order haven't been able find example of how write such hook. can point me in right direction?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -