Windows上的Git和SVN [英] Git and SVN on Windows
问题描述
我正在尝试为我的本地存储库运行git,并将SVN用于我的中央存储库到一个CodePlex项目。我下载了最新版本的 msysgit ,但SVN支持不支持
以下成功初始化一个新的空存储库,然后卡住:
git svn init https://myproject.svn.codeplex.com
git svn fetch
尝试执行提取操作后,我得到以下内容:
验证服务器证书为'https://myproject.svn.codeplex.com:443'
:
错误 - 证书不是由可信机构签发的。使用
指纹手动验证证书!
证书信息:
- 主机名:* .svn.codeplex.com
- 有效期:自5月23日02:11:05 2009 GMT至5月23日02:11:05 2010 GMT
- 发行人:redmond,corp,microsoft,com
- 指纹:f0:89:78:18:47:70:e4:dc:27:01:27:9c:6f:44:4c:3f :8a:9b:ad:79
(R)弹出,接受(t)放弃或接受(p) p
正如您所看到的,我尝试永久接受证书,但msysgit刚好位于并且从不执行获取。
我做错了什么?支持不在那里吗?我从12月份发现了类似的 Stack Overflow帖子。我不知道我所遇到的症状是否相同,或者不是。
我不太确定为什么,但是从上面提示询问是否接受证书需要相当长的时间。等待大约15分钟后,操作完成。
I'm trying to run git for my local repository and use SVN for my central repository to a CodePlex project. I downloaded the most recent version of msysgit, but the SVN support doesn't appear to be working.
The following successfully initializes a new empty repository and then gets stuck:
git svn init https://myproject.svn.codeplex.com git svn fetch
After attempting to perform the fetch, I get the following:
Error validating server certificate for 'https://myproject.svn.codeplex.com:443' : - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: *.svn.codeplex.com - Valid: from May 23 02:11:05 2009 GMT until May 23 02:11:05 2010 GMT - Issuer: redmond, corp, microsoft, com - Fingerprint: f0:89:78:18:47:70:e4:dc:27:01:27:9c:6f:44:4c:3f:8a:9b:ad:79 (R)eject, accept (t)emporarily or accept (p)ermanently? p
As you can see, I try to permanently accept the certificate, but msysgit just sits and never performs the fetch.
Am I doing something wrong? Is the support not there? I found a similar Stack Overflow post from December. I'm not sure if the symptoms I'm experiencing are the same, or not.
I'm not really sure why, but it takes a pretty long time to come back from the prompt above that asks whether or not to accept the certificate. After waiting about 15 minutes, the operation did complete.
这篇关于Windows上的Git和SVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!