Trying out SVN

| tags: random

I really ought to use source code control. I know it. But my laziness combined with my poor memory, makes it hard.

I'm trying out subversion. I'll make some notes here to help me remember.

To create a new project myproject in my repository I need to:

cd ~/Desktop
mkdir myproject
cd myproject
mkdir trunk tags branches
cp -r path_to_myproject_files/* trunk/
clean up any junk files
svn import ~/Desktop/myproject svn+ssh:// -m "initial import"
cd place_to_work
mv path_to_myproject_files out of the way if necessary
svn checkout svn+ssh:// myproject

Then in that working directory the commands to know are: svn add, svn update, and svn commit.