SVN linux用戶端常用命令總結

來源:互聯網
上載者:User

svn linux使用
svn linux用戶端更新

[root@ds svn]# svn co svn://10.10.233.19/web1/ /svn/ --username=mark1 --password=mark1
中文字元報錯可修改:

export LC_CTYPE="en_US.UTF-8"
export LC_ALL=
列出和查看:

[root@ds ~]# svn list svn://10.10.233.19/web1/ --username=mark1 --password=mark1 --verbose
      2 mark                  Jun 14 01:17 ./
      1 mark                3 Jun 14 00:56 New Text Document.txt
      2 mark                  Jun 14 01:17 date/
[root@ds ~]#
提交
建立檔案

[root@ds svn]# touch {a,,d}
[root@ds svn]# ls
a  b  d  date  New Text Document.txt
提交

[root@ds svn]# svn add a b d
A         a
A         b
A         d
[root@ds svn]# svn ci -m "svn ci date"
Adding         a
Adding         b
Adding         d
Transmitting file data ...
Committed revision 4.
[root@ds svn]#
在svnserver中匯入目錄到項目

svn import /svn file:///svn/svndata/web2 -m "import"
複製分之

svn co svn://10.10.233.19/web1 --username=mark1 --password=mark1

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.