当前位置:K88软件开发文章中心编程工具SVN → 文章内容

SVN 检出操作

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-14 3:32:36

SVN 检出操作上一章中,我们创建了版本库k8801,URL为svn://192.168.0.1/k8801,svn用户user01有读写权限。我们就可以通过这个URL在客户端对版本库进行检出操作。svn checkout http://svn.server.com/svn/project_repo --username=user01以上命令将产生如下结果:root@k88:~/svn# svn checkout svn://192.168.0.1/k8801 --username=user01A k8801/trunkA k8801/branchesA k8801/tagsChecked out revision 1.检出成功后在当前目录下生成k8801副本目录。查看检出的内容root@k88:~/svn# ll k8801/total 24drwxr-xr-x 6 root root 4096 Jul 21 19:19 ./drwxr-xr-x 3 root root 4096 Jul 21 19:10 ../drwxr-xr-x 2 root root 4096 Jul 21 19:19 branches/drwxr-xr-x 4 root root 4096 Jul 21 19:19 .svn/drwxr-xr-x 2 root root 4096 Jul 21 19:19 tags/drwxr-xr-x 2 root root 4096 Jul 21 19:19 trunk/你想查看更多关于版本库的信息,执行 info 命令。

SVN 检出操作