【Mac】之svn上传/删除文件命令

创建文件后,进入文件夹下:

①先checkoutsvn地址:

svn checkout https://xxxx:0000/svn/CM_B2B_Document/06_Testing/B2B_Steel_2.0/Simple

②:注意以下三条:

- Fingerprint: 2C:8F:E9:C7:A8:56:AF:1D:07:A2:73:59:35:EA:CB:87:C9:E0:28:29

(R)eject, accept (t)emporarily or accept (p)ermanently? p (选择P)

 

Authentication realm: <https://xxxx:0000> VisualSVN Server

Password for 'xxx': ****

 

Authentication realm: <https://xxxx:0000> VisualSVN Server

Username: xxx

Password for 'xxx': ******

②再进入Simple文件夹

cd Simple

③然后添加到svn:

svn add *

④上传svn

svn commit -m "111"(上传提示)

⑤删除文件

svn delete xxx(指定文件夹或文件名)

svn ci -m "delete test"

 ⑥更新文件

svn update XXX(更新指定文件/文件夹)
svn ci
-m "test-update"

 

====================扩展====================

 

参考文章:

mac终端下svn常用命令

[转]svn 回退/更新/取消至某个版本命令详解

 

 

 

posted @ 2018-09-05 18:15  Owen_ET  阅读(6545)  评论(0编辑  收藏  举报