deployment - Git: auto pull from repository? -


is there way set git such listens updates remote repo , pull whenever changes? use case want deploy web app using git (so version control of deployed application) want put "central" git repo on github rather on web server (github's interface soooo nice).

has gotten working? how heroku it? google-fu failing give me relevant results.

git has "hooks", actions can executed after other actions. seem looking "post-receive hook". in github admin, can set post-receive url hit (with payload containing data pushed) everytime pushes repo.

for it's worth, don't think auto-pull idea -- if wrong pushed branch ? i'd use tool capistrano (or equivalent) such things.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -