Git: auto pull from repository?

前端 未结 4 425
北海茫月
北海茫月 2020-11-30 01:31

Is there any way to set up git such that it listens for updates from a remote repo and will pull whenever something changes? The use case is I want to deploy a web app using

4条回答
  •  无人及你
    2020-11-30 02:04

    On unix-likes you can create cron job that calls "git pull" (every day or every week or whatever) on your machine. On windows you could use task scheduler or "AT" command to do the same thing.

提交回复
热议问题