On Sunday, June 16, 2013 8:04:09 PM UTC+2, Mark Christian Lopez wrote:

> I want to set up Git so that when I commit to BitBucket my web server 
> automatically fetches those commits.
> How can I do that?

There are theoretically two ways (that I can think of):

1: Polling. Set up a scheduled task that periodically fetches or checks for 
changes from BitBucket. This is fairly easy to set up with the help of a 
cron-job and some scripts, or you can use a build-server like 
Jenkins<http://jenkins-ci.org>to do the work for you.

2: BitBucket server-side hooks: This means that on every push BitBucket 
receives, it will notify the service of your choice that a change has 
happened. Read more about it here; 

The 2nd option is by far the most practical, but in some situations it's 
not possible to get the callback in through corporate firewalls, etc.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to