First of all, installing subversion on my Ubuntu laptop and server was as simple as the command
$ sudo apt-get install subversion
So far, the plan is to setup a separate repository for each project, so I created a directory on my server to hold each of the project repositories in my home folder. (this command was done via ssh on my server)
$ mkdir ~/cs373
Creating a repository in this new directory is now as simple as: (this command was also done via ssh on my server)
$ svnadmin create ~/cs373/proj1
On my laptop I then created a directory called proj1 with all of the initial skeleton files in it.
Once all the files were there, I imported this directory into my repository. The -m flag is a message that's logged with the import
(this was done on my laptop, and proj1 is a folder in the current directory. I've omitted my username and hostname of my server)
$ svn import proj1 svn+ssh://
Then, when I'm ready to checkout my project to work on it, I ented (on my laptop)
$ svn checkout svn+ssh://
This checks out my project into my current working directory.
When I'm satisfied with changes to my project, I simply enter (on my laptop):
$ svn commit
Well, I guess those are the basics. As I learn more about subversion throughout the semester, I'll share what I learn.
No comments:
Post a Comment