`

svn笔记(二)

    博客分类:
  • svn
阅读更多
1. 在root目录下创建项目管理内容
d:\svn\root> svnadmin create hello

2. svn import项目

首先用cmd模式进入到项目路径下

d:/download/java/hello
这里面有一个项目叫helloworld的项目文件夹
svn import -m "hello" helloworld svn//localhost/hello
这里的localhost/hello就是我们在第一个步骤中创建的。

3.checkout项目
cd到所希望放项目的路径, 然后输入
svn co svn://localhost/ hello
该项目的内容就会被取出来。

4.用户上传(提交)项目
在自己的项目路径中, 输入

svn -ci -m "xxxx"

5. 其它用户通过checkout获取项目
在该用户的项目目录下 ,输入
svn checkout svn://localhost/hello
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics