以下所有命令需要在终端中进行。
1、项目checkout到本地目录
svn checkout https://svn.url/project --username xxxx --password xxx ./mpath
checkout 可以替换为co,
https://svn.url/project
为服务器地址,
./mpath
为本地要保存的地址
第一次会出现以下提示信息:
Error validating server certificate for 'https://172.17.1.8:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: BJ-AD-FS.hyc-tec.net
- Valid: from Fri, 03 May 2013 01:18:50 GMT until Mon, 01 May 2023 01:18:50 GMT
- Issuer: BJ-AD-FS.hyc-tec.net
- Fingerprint: 16:c5:8a:cf:f5:25:9d:df:54:79:0f:0d:42:03:70:29:04:9b:c2:a8
(R)eject, accept (t)emporarily or accept (p)ermanently?
就是询问接受方式,一般写p,以后就不会再出现了!