我无法从 CMD 控制台窗口运行 git。我需要运行它,因为 TortoiseGit 不够聪明,无法接受自签名证书来导入 SVN 存储库。我需要在命令行运行 git.exe。
git.exe svn clone "https://eaxmple.net/svn" "C:\xxx\git" -T trunk
Initialized empty Git repository in c:/xxx/git/.git/
Error validating server certificate for 'https://esample.net:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: xxx.net
- Valid: from Jul 23 00:00:00 2012 GMT until Jul 23 23:59:59 2017 GMT
- Issuer: Register.com, US
- Fingerprint: ax:2x:bx:x6:7x:c8:ae:82:01:bx:4a:77:51:dd:9d:6d:e5:63:42:39
(R)eject, accept (t)emporarily or accept (p)ermanently? RA layer request failed: PROPFIND request failed on '/svn': PROPFIND of '/svn': Server certificate verification failed: issuer is not trusted (https://example.net) at C:\msysgit/libexec/git-core\git-svn line 2327
git did not exit cleanly (exit code 1) (5366 ms @ 10/14/2013 9:26:05 AM)