Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
History of development 
I was working with Bitbucket on my private projects for a long time. I wanted to switch from FTP deployment into GIT. I mean, when I commit something to my private Bitbucket repo I wanted it to appear on my shared webhosting server too, without FTP syncing. 

How script works? 
1. It gets last commits zip 
2. Deletes all files recursively from your web hosting 
3. Unzips .zip file contents into destination folder that you set (By default destination folder is root) 

Installation 
1. Upload deploy.php into your webhosting server 
2. Set your BitBucket username, password and repo name 
3. Configure your private repo to send POST into deploy.php when you commit. Here is how to: http://goo.gl/9weh8 
4. That's it

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.