开发者

SVN Got the repository going but what now?

开发者 https://www.devze.com 2023-01-24 12:18 出处:网络
I am wanting to get into this SVN stuff, so i got a mac server and ran the following commands, as per a tutorial i am reading

I am wanting to get into this SVN stuff, so i got a mac server and ran the following commands, as per a tutorial i am reading

cd /usr/local/repos
svnadmin create mynewwebsite
cd /tmp
svn co file:///usr/local/repos/mynewwebsite
cd mynewwebsite
svn mkdir tags branches trunk
svn ci -m "initial structure"

That works perfect, it has setup a new repository which i can see through my webserver with a bit more messing around.

Only thing is, im not sure what to do next ... I want to put all files and subdirs of my new website into it开发者_如何学运维 so i can start somewhere.

Could someone give me a quick rundown of how i can do that .... Im a bit lost with it.

Cheers,


copy everything to the trunk and commit it.

cp /path/to/my/site trunk/
svn ci -m "initial commit"
0

精彩评论

暂无评论...
验证码 换一张
取 消