Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to use SVN to version control a PHP site?

Tags:

php

svn

I've always just FTPed files down from sites, edited them and put them back up when creating sites, but feel it's worth learning to do things properly.

I've just commited everything to a SVN repo, and have tried sshing into the server and checking out a tagged build, as well as updating that build using switch.

All good, but it's a lot lot slower than my current process.

What's the best way to set something like this up? Most of my time is just bug fixes or small changes rather than large rewrites, so I'm frequently updating things.

like image 240
Rich Bradshaw Avatar asked Sep 22 '08 20:09

Rich Bradshaw


1 Answers

You don't necessarily need to use SVN to deploy the files to the server. Keep using FTP for that and just use SVN for revision history.

like image 88
John Sheehan Avatar answered Sep 29 '22 16:09

John Sheehan