Creating Local SVN Repository (Home Repository)


Hi, I wanted to create a Local (Home) Repository for my project to keep track of all changes which I was doing, So for that I created Local Repository from a existing project.

Here are the steps, how I created it.
Go to your home directory or where you want to put your repository
cd /home/demo/svnrepo

Creating Repository for Project myproj
svnadmin create myproj

The repository is in revision 0, so import the existing project into repository
svn import /root/myproj/ file:///home/demo/svnrepo/myproj/trunk -m "Initial import of myproj"
                 [Project Path]                 [Repository Path]

Checkout myproj Locally
svn co file:///home/demo/svnrepo/myproj/trunk /root/development/myproj

Checkout myproj Remotely
svn co svn+ssh://root@/home/demo/svnrepo/myproj/trunk /root/development/myproj

For detailed reading click here
Related Article Set Up An SVN Repository In 7 Simple Steps

7 comments:

  1. Hello! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up losing a few months of
    hard work due to no backup. Do you have any solutions to protect against hackers?


    Review my website; local search engine marketing vancouver

    ReplyDelete
  2. Hello! Do you know if they make any plugins to help with SEO?
    I'm trying to get my blog to rank for some targeted keywords but
    I'm not seeing very good success. If you know of any please share.
    Many thanks!

    Here is my web page treatment of scleroderma lung disease

    ReplyDelete
  3. I've learn a feww excellent stuff hеre. Certainly price
    bookmarking fօr revisiting. I surprise how a lot attempt
    youu set tо make tҺіs sort of excellent informative
    site.

    Ӎy website ... Dayzspain.Com

    ReplyDelete
  4. For newest information you have to pay a quick visit web
    and on internet I found this website as a most excellent web page for hottest updates.


    Look into my blog; after effects running tutorial (gzzhengbao.com)

    ReplyDelete
  5. Hello! I know this is somewhat off topic but I
    was wondering which blog platform are you using for this site?
    I'm getting tired of Wordpress because I've had problems with hackers and I'm lookin at options for another platform.
    I would be fantastic if you could point me in the direction oof a good
    platform.

    My blog: calendario insanity (sdsfvdf.blogspot.in)

    ReplyDelete
  6. Thanks for the good writeup. It actually was once a entertainment
    account it. Glance complicated to far added agreeable from you!
    By the way, how can we keep in touch?

    my blog; acai power slim

    ReplyDelete