tanzio
tanzio

Reputation: 1510

Deploy PHP project using git and free git repository

How can I deploy an existing PHP project using Git and what is the best free git repository?

Upvotes: 0

Views: 668

Answers (4)

Lyquix
Lyquix

Reputation: 29

If you need a private repo for free you should use BitBucket.

Check out this PHP script for deploying from Git repositories:

https://github.com/Lyquix/php-git-deploy

Upvotes: 0

cwallenpoole
cwallenpoole

Reputation: 82068

Github is generally considered best.

When I last did something like that, I simply SSH'd to the server did git clone and then had cron run a pull and update from my production "branch". You'll want to set up your git repository with your public key for the server, but instructions for that are pretty simple (I found the Windows one right off (scroll to the bottom), but it still works).

Upvotes: 0

Michael Mior
Michael Mior

Reputation: 28752

Checkout the free Git deploy tool from PHP Fog.

Upvotes: 1

Vladimir Tsukanov
Vladimir Tsukanov

Reputation: 4459

You can use github for this purpose

Upvotes: 1

Related Questions