简体   繁体   中英

Git Tower push - pull automation

I am using Tower for my source control and would like to know if there is a way to create automation for every push I make to github/bitbucket/etc it will also automatically call pull to my live box (for example my personal .com). Any suggestions? Thanks.

You could do this with a githook for the post-update event. Git hooks are shell scripts which are executed after certain actions. You could write a script which either remotely logs into the live box and does a pull or which does an additional push to the live box.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM