iOS svn 更换ip地址

该项功能主要用于更换已经从svn上checkout下来的文件,因为更换内外网或服务器修改而造成的要修改文件svn地址的情况

(只讲解使用终端修改,Mac版)

1,cd 本地文件的地址

2,svn switch --relocate 旧的的svn地址  新的svn地址

3,这里会出现

Error validating server certificate for '你现在的ip地址':

- 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: 《《《服务器的或者电脑名(公司服务器的名字不确定,看着像,,,,)

- Valid: from May  4 00:47:22 2013 GMT until May  2 00:47:22 2023 GMT

- Issuer: 服务器的或者电脑名(公司服务器的名字不确定,看着像,,,,)

- Fingerprint: 4B:FF:A5:8E:F0:9A:77:35:86:B7:44:8D:A3:98:D6:94:B6:16:74:02

(R)eject, accept (t)emporarily or accept (p)ermanently? (这里让选择类型,(R)弹出,接受(T)只是暂时或接受(P)接受,一般直接选择p即可)

4,这里要输入电脑的开机密码,然后接着说svn的用户名和密码,回车成功

5,重新打开xcode本地的文件,更新一下,会重新让输入svn的账户名和密码,输入即可

你可能感兴趣的:(iOS svn 更换ip地址)