Let’s start with the basics. I’m assuming you know what svn is and the purpose for it. If not, use Google. This tutorial is to get you going with it. I’m assuming you have it installed and are working on a mac.
There’s an easier way to structure your project (sorry, I’m learning as I go here…)
Pretty simple, you’re going to create a place to put your repos, populate them, then checkout a working copy:
For those of you who want a simpler step by step version, see below:
Set up your test environment:
First step is to create a local repository (I’m assuming we don’t want to make this first tutorial more complex than it needs to be…usually your repo lives on a remote server where people can get access, but we are going to work with everything locally to keep it easy):
Create a repo:
Import your files:
Now we assume the “remote” is our repo living on a server somewhere. Time to pull down the project so we can start working with it:
Checkout a working copy:
Let’s see what we have in there:
“Trunk” is just the main repository. It’s common in svn to use trunk the same way someone might use “Master” in git. It’s the production version of things. Not required, but it is convention.
At this point you’re ready to begin working with the files. In 102, I’ll show you how to setup your project to ignore certain files and begin modifications and commits. Then we’ll create some branches and start merging!