济南建设网站需要,白云网站开发,十大手机必备软件,娄底企业网站建设制作linux的checkout命令是linux的svn的常用命令之一。下面由秋天网 Qiutian.ZqNF.Com小编为大家搜集整理了linux的svn之checkout命令的相关知识#xff0c;希望对大家有帮助!linux的svn之checkout命令常用检出命令#xff1a;svn co http://路径(目录或文件的全路径) [本地目录…linux的checkout命令是linux的svn的常用命令之一。下面由秋天网 Qiutian.ZqNF.Com小编为大家搜集整理了linux的svn之checkout命令的相关知识希望对大家有帮助!linux的svn之checkout命令常用检出命令svn co http://路径(目录或文件的全路径) [本地目录全路径] --username 用户名 --password 密码svn co svn://路径(目录或文件的全路径) [本地目录全路径] --username 用户名 --password 密码svn checkout http://路径(目录或文件的全路径) [本地目录全路径] --username 用户名svn checkout svn://路径(目录或文件的全路径) [本地目录全路径] --username 用户名注如果不带--password 参数传输密码的话会提示输入密码建议不要用明文的--password 选项。其中 username 与 password前是两个短线不是一个。不指定本地目录全路径则检出到当前目录下。svn的checkout命令实例svn co svn://192.168.0.3/测试工具 /home/testtools --username lukesvn co http://192.168.0.3/test/testapp --username lukesvn checkout svn://192.168.0.3/测试工具 /home/testtools --username lukesvn checkout http://192.168.0.3/test/testapp --username luke标注自己实验过的代码svn checkout http://xxxx/cxb/weijifen/code/trunk/web/xxx /home/cxb/src/xxxsvn checkout http://xxxxx/cxb/weijifen/code/trunk/web/trunk . /home/cxb/src/xxx检出指定具体版本svn co http://路径(目录或文件的全路径) [本地目录全路径] [--revision] --username 用户名 --password 密码svn checkout svn://路径(目录或文件的全路径) [本地目录全路径] [--revision] --username 用户名svn co [--revision] http://路径(目录或文件的全路径) [本地目录全路径] --username 用户名 --password 密码svn checkout [--revision] svn://路径(目录或文件的全路径) [本地目录全路径] --username 用户名svn checkout http://siphon.googlecode.com/svn/trunk/ siphon -r r791svn checkout -r r791 http://siphon.googlecode.com/svn/trunk/ siphon检出不包括源文件夹根目录比如我要checkout trunk/ 下面的所有文件但是不包括trunk 文件夹我们可以在svn文件夹后面打个空格在加个“.”就行了svn co http://192.168.1.10/svn/project/trunk/ /home/dsp-open改为:svn co http://192.168.1.10/svn/project/trunk/ . /home/dsp-open查看更多关于checkout参数使用的命令svn help checkout[[email protected] ~]# svn help checkoutcheckout (co): check out a working copy from a repository.usage: checkout url[rev]... [path]if specified, rev determines in which revision the url is firstlooked up.if path is omitted, the basename of the url will be used asthe destination. if multiple urls are given each will be checkedout into a sub-directory of path, with the name of the sub-directorybeing the basename of the url.if --force is used, unversioned obstructing paths in the workingcopy destination do not automatically cause the check out to fail.if the obstructing path is the same type (file or directory) as thecorresponding path in the repository it becomes versioned but itscontents are left as-is in the working copy. this means that anobstructing directorys unversioned children may also obstruct andbecome versioned. for files, any content differences between theobstruction and the repository are treated like a local modificationto the working copy. all properties from the repository are appliedto the obstructing path.see also svn help update for a list of possible charactersreporting the action taken.valid options:-r [--revision] arg : arg (some commands also take arg1:arg2 range)a revision argument can be one of:number revision number{ date } revision at start of the datehead latest in repositorybase base rev of items working copycommitted last commit at or before baseprev revision just before committed-q [--quiet] : print nothing, or only summary information-n [--non-recursive] : obsolete; try --depthfiles or --depthimmediates--depth arg : limit operation by depth arg (empty, files,immediates, or infinity)--force : force operation to run--ignore-externals : ignore externals definitionsglobal options:--username arg : specify a username arg--password arg : specify a password arg--no-auth-cache : do not cache authentication tokens--non-interactive : do no interactive prompting--trust-server-cert : accept unknown ssl server certificates withoutprompting (but only with --non-interactive)--config-dir arg : read user configuration files from directory arg--config-option arg : set user configuration option in the format:file:section:option[value]for example:servers:global:http-libraryserf知识扩展check out跟check in对应export跟import对应check out导出获得文件后导出的文件仍处于svn版本控制中与版本库保持关联比如你可以进行svn update或者svn commit操作。同时导出文件夹下有一个.svn的隐藏文件夹存储着一些版本的元数据信息。export 简单导出一个版本的数据导出的文件脱离svn版本控制修改后无进行update和commit操作。导出文件夹下没有.svn目录。注如果不带--password 参数传输密码的话会提示输入密码建议不要用明文的--password 选项。其中 username 与 password前是两个短线不是一个。不指定本地目录全路径则检出到当前目录下。例子svn co svn://192.168.0.3/测试工具 /home/testtools --username lukesvn co http://192.168.0.3/test/testapp --username lukesvn checkout svn://192.168.0.3/测试工具 /home/testtools --username lukesvn checkout http://192.168.0.3/test/testapp --username luke