特黄特色三级在线观看免费,看黄色片子免费,色综合久,欧美在线视频看看,高潮胡言乱语对白刺激国产,伊人网成人,中文字幕亚洲一碰就硬老熟妇

學(xué)習(xí)啦>學(xué)習(xí)電腦>操作系統(tǒng)>Linux教程>

linux的svn之checkout命令

時(shí)間: 佳洲1085 分享

  linux的checkout命令是linux的svn的常用命令之一。下面由學(xué)習(xí)啦小編為大家搜集整理了linux的svn之checkout命令的相關(guān)知識(shí),希望對(duì)大家有幫助!

  linux的svn之checkout命令

  常用檢出命令:

  svn co http://路徑(目錄或文件的全路徑) [本地目錄全路徑] --username 用戶名 --password 密碼

  svn co svn://路徑(目錄或文件的全路徑) [本地目錄全路徑] --username 用戶名 --password 密碼

  svn checkout http://路徑(目錄或文件的全路徑) [本地目錄全路徑] --username 用戶名

  svn checkout svn://路徑(目錄或文件的全路徑) [本地目錄全路徑] --username 用戶名

  注:如果不帶--password 參數(shù)傳輸密碼的話,會(huì)提示輸入密碼,建議不要用明文的--password 選項(xiàng)。

  其中 username 與 password前是兩個(gè)短線,不是一個(gè)。

  不指定本地目錄全路徑,則檢出到當(dāng)前目錄下。

  svn的checkout命令實(shí)例

  svn co svn://192.168.0.3/測(cè)試工具 /home/testtools --username luke

  svn co http://192.168.0.3/test/testapp --username luke

  svn checkout svn://192.168.0.3/測(cè)試工具 /home/testtools --username luke

  svn checkout http://192.168.0.3/test/testapp --username luke

  標(biāo)注自己實(shí)驗(yàn)過的代碼:

  svn checkout http://XXXX/cxb/weijifen/code/trunk/web/XXX /home/cxb/src/XXX

  svn 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 r791

  svn checkout -r r791 http://siphon.googlecode.com/svn/trunk/ siphon

  檢出不包括源文件夾根目錄:

  比如我要checkout trunk/ 下面的所有文件,但是不包括trunk 文件夾

  我們可以在svn文件夾后面打個(gè)空格,在加個(gè)“.”就行了

  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

  查看更多關(guān)于checkout參數(shù)使用的命令:svn help checkout

  [root@ltegr ~]# svn help checkout

  checkout (co): Check out a working copy from a repository.

  usage: checkout URL[@REV]... [PATH]

  If specified, REV determines in which revision the URL is first

  looked up.

  If PATH is omitted, the basename of the URL will be used as

  the destination. If multiple URLs are given each will be checked

  out into a sub-directory of PATH, with the name of the sub-directory

  being the basename of the URL.

  If --force is used, unversioned obstructing paths in the working

  copy destination do not automatically cause the check out to fail.

  If the obstructing path is the same type (file or directory) as the

  corresponding path in the repository it becomes versioned but its

  contents are left 'as-is' in the working copy. This means that an

  obstructing directory's unversioned children may also obstruct and

  become versioned. For files, any content differences between the

  obstruction and the repository are treated like a local modification

  to the working copy. All properties from the repository are applied

  to the obstructing path.

  See also 'svn help update' for a list of possible characters

  reporting 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 date

  'HEAD' latest in repository

  'BASE' base rev of item's working copy

  'COMMITTED' last commit at or before BASE

  'PREV' revision just before COMMITTED

  -q [--quiet] : print nothing, or only summary information

  -N [--non-recursive] : obsolete; try --depth=files or --depth=immediates

  --depth ARG : limit operation by depth ARG ('empty', 'files',

  'immediates', or 'infinity')

  --force : force operation to run

  --ignore-externals : ignore externals definitions

  Global 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 without

  prompting (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-library=serf

  知識(shí)擴(kuò)展:check out跟check in對(duì)應(yīng),export跟import對(duì)應(yīng)

  check out導(dǎo)出獲得文件后,導(dǎo)出的文件仍處于SVN版本控制中,與版本庫(kù)保持關(guān)聯(lián),比如你可以進(jìn)行Svn Update或者Svn Commit操作。

  同時(shí)導(dǎo)出文件夾下有一個(gè).svn的隱藏文件夾,存儲(chǔ)著一些版本的元數(shù)據(jù)信息。export 簡(jiǎn)單導(dǎo)出一個(gè)版本的數(shù)據(jù),導(dǎo)出的文件脫離SVN版本控制,修改后無(wú)進(jìn)行Update和Commit操作。導(dǎo)出文件夾下沒有.svn目錄。

  注:如果不帶--password 參數(shù)傳輸密碼的話,會(huì)提示輸入密碼,建議不要用明文的--password 選項(xiàng)。

  其中 username 與 password前是兩個(gè)短線,不是一個(gè)。

  不指定本地目錄全路徑,則檢出到當(dāng)前目錄下。

  例子:

  svn co svn://192.168.0.3/測(cè)試工具 /home/testtools --username luke

  svn co http://192.168.0.3/test/testapp --username luke

  svn checkout svn://192.168.0.3/測(cè)試工具 /home/testtools --username luke

  svn checkout http://192.168.0.3/test/testapp --username luke

3632373