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
- create directory in repository project
- import project the svn repository
- turn directory containing locally saved files working copy
here svn commads witch need excecute each step
-
svn mkdir --parents <repo-url>/giftshop -m="create project giftshop" -
svn import <repo-url>/giftshop/trunk -m="initial import giftshop" -
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
Post a Comment