Instead of using FTP client to overwrite the entire folder (because you often forget which file needs to be overwritten), you can checkout the contents from the SVN server. This will make deployments quick and easy.

1. go to the root directory of your website.

2. checkout the repo


svn co svn+ssh://user@domain.com/repo/trunk .

3. It’s possible that you need to set ownership to the files.


sudo chown -R : ../html

4. When the folder is setup, just run update from next time.


svn update

Advertisements