Local SVN repository, without Apache
Posted: Mon Nov 24, 2008 12:10 pm
In order to keep track of some local files I'm working on, I wanted to have a local SVN repository, but without the overhead of installing, configuring and running an Apache webserver.
Thanks to an article called "Creating local SVN Repository", I finally know how.
Here are the basic commands you'll need:
1) Create a folder and make it a repository for "project1":
2) Import your initial set of files:
-- Note: From here on, you can use a graphical SVN client to work with --
3) Checkout your working copy (you don't work on the original):
4) commit files and leave a log message:
Thanks to an article called "Creating local SVN Repository", I finally know how.
Here are the basic commands you'll need:
1) Create a folder and make it a repository for "project1":
Code: Select all
$ mkdir -p /home/user/repos/svn
$ cd ~/repos/svn
$ svnadmin create project1Code: Select all
$ svn import /home/user/project1 file:///home/user/repos/svn/project1/trunk -m "Initial import of project1"3) Checkout your working copy (you don't work on the original):
Code: Select all
$ svn co file:///home/user/repos/svn/project1/trunk /home/user/project1_workCode: Select all
$ svn commit -m "Some log message"