Alex Rivera | Logout

Learning how to use Subversion

Asked 2008-09-24T00:10:17.907
18

This is probably a really stupid newbie-sounding question to you developer type people, but I'm at a loss :( I've been trying to learn how to use Subversion for keeping the history of my code, but I'm finding it pretty confusing. I read the 'book' that comes with Subversion, but I didn't find it all that helpful. I'm using Windows, and I downloaded the TortoiseSVN GUI for it.

All I really want to know how to do is to create a new project, put a file in it (any old file), and then update that file, just so I can see how it works. I created a 'repository' (in svn_repository/test), and if anyone could tell me how I'm supposed to go about creating a new file/putting a file in it, and then updating that file I'd be really happy :) Knowing my luck it'll be something as simple as "drag and drop the file into the directory". Apologies for asking such a stupid question!

Also if anyone could tell me how to go about making it work with Zend Studio, that would be extra awesome-points. Thanks!

Edit
Report

1 Answer

1

The repository is a place where Subversion itself manages the files - you will not access the files in the repository directly. If you've created a repository, then the next step is to do a Checkout from the repository to some working directory. (This working directory should not be a subdirectory of the repository.)

Once you have a checkout, drop a file in there and right click on it to Add it. The other operations should make more sense from that point.

answered 2008-09-24T00:13:12.627

Your Answer