svn更改分支名字,move命令

來源:互聯網
上載者:User

標籤:style   blog   http   color   io   os   ar   for   strong   

名稱

svn move — 移動一個檔案或目錄。

概要
svn move SRC DST
描述

這個命令移動檔案或目錄到你的工作拷貝或者是版本庫。

提示

這個命令同svn copy加一個svn delete等同。

注意

Subversion不支援在工作拷貝和URL之間拷貝,此外,你只可以一個版本庫內移動檔案—Subversion不支援跨版本庫的移動。

WC -> WC

移動和預訂一個檔案或目錄將要添加(包含曆史)。

URL -> URL

完整伺服器端的重新命名。

別名

mv, rename, ren

改變

如果是對URL操作則會影響版本庫,否則是工作拷貝

是否訪問版本庫

只有在對URl操作時會

選項
--message (-m) TEXT--file (-F) FILE--revision (-r) REV (廢棄的)--quiet (-q)--force--username USER--password PASS--no-auth-cache--non-interactive--editor-cmd EDITOR--encoding ENC--force-log--config-dir DIR
例子

移動工作拷bede一個檔案:

$ svn move foo.c bar.cA         bar.cD         foo.c

移動版本庫中的一個檔案(一個立即提交,所以需要提交資訊):

$ svn move -m "Move a file" http://svn.red-bean.com/repos/foo.c                             http://svn.red-bean.com/repos/bar.cCommitted revision 27.

move -m ‘*更改分支名字‘  svn://192.168.1.52/help/branches/help_forPmv2  svn://192.168.1.52/help/branches/help_forPmv2_141010

 

svn更改分支名字,move命令

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.