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

c# SetCompatibleTextRenderingDefault must be called before the first -

How to prevent logback from emitting repeated "Empty watch file list. Disabling" messages -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -