How to sync a server with bitbucket automatically
<p>Is it possible that when I push to a repo on Bitbucket, it automatically updates my server too?</p>

<p>Currently I push to a repo. then login into my server. and pull from repo. </p>

<p>since the server is Linux, can  I create a script with commands like <code>git pull</code> which runs every 5 minutes or so?</p>