巴布豆

svn co

svn  co  的用法经常有两种:   
第一种:  直接  svn  co    http://svnserver/mypro/trunk
                此时, 会在你的当前目录下, 增加一个 trunk文件夹;  svn的trunk文件的内容, 在trunk文件夹中。
 
第二种:  svn  co   http://svnserver/mypro/trunk   code
               此时, 会在你的当前目录下, 增加一个 code的文件夹,  svn的trunk的文件的内容, 在code中。
 
svn co  只能check目录, 不能co文件; 如果需要co文件, 需要用 svn export;
 

posted on 2015-04-23 16:21  巴布豆  阅读(901)  评论(0编辑  收藏  举报

导航