SVN repository at existing folder on server -


i new svn repository thing:

  • i have visualsvn server installed @ computer.
  • i have gift shop website , it's physical path c:\hosting\domains\giftshop.
  • i want link repository created @ visualsvn path mentioned above. how should it?

please advice.

supposing c:\hosting\domains\giftshop directory containing files of application , want have version controlled.

for need following steps

  1. create directory in repository project
  2. import project the svn repository
  3. turn directory containing locally saved files working copy

here svn commads witch need excecute each step

  1. svn mkdir

    svn mkdir --parents <repo-url>/giftshop -m="create project giftshop" 
  2. svn import

    svn import <repo-url>/giftshop/trunk  -m="initial import giftshop" 
  3. svn checkout

    svn checkout --revision head --depth infinity --force <repo-url>/giftshop/trunk giftshop 

if wondering why there directory trunk may want have @ this question best practice project directory structure under subversion.

all these commands need run parent directory of giftshop, in case c:\hosting\domains

it seems name of directory giftshop located deployment location witch served web server. if case recommend separate deployment development working copy


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -