A client has asked me to connect to their SVN server to upload (sync) my file changes rather than use FTP. I simply want to connect to the SVN server.
Every tutorial I read has something to do with installing SVN server on my local machine - I don't want to install a server, I want to connect to one, pull down the files, replace with my changes, and push them back up. Can someone tell me how to do this? Or is there are very very very basic tutorial out there that explains how? I had never used SVN before this.
I'm using Ubuntu 10.
Thanks, Chris
Basically you need to install subversion first:
sudo apt-get install subversion
Then you need to checkout the SVN repository, add your files and commit; that looks similar to this:
svn co http://some.url/to/the/repository
cd repository-folder
cp ../files/from/otherfolder .
svn add the/new/files
svn commit
I'd suggest reading through http://svnbook.red-bean.com/nightly/en/svn.tour.importing.html and the next 4-5 pages of that chapter/section to get a good primer on using SVN as a client.
You want to check out a working copy to your local machine:
svn checkout http://host.example.com/svn/repo/trunk my-working-copy
This will let you modify files on your local machine, and commit them back up to the repository. Make sure to svn update before you svn commit!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With