gpt4 book ai didi

svn - Windows 上的 Git 和 SVN

转载 作者:IT王子 更新时间:2023-10-29 00:44:00 24 4
gpt4 key购买 nike

我正在尝试为我的本地存储库运行 git,并为我的中央存储库使用 SVN 到 CodePlex 项目。我下载了最新版本的 msysgit ,但 SVN 支持似乎不起作用。

下面成功初始化了一个新的空仓库然后卡住了:

git svn init https://myproject.svn.codeplex.comgit svn fetch

尝试执行提取后,我得到以下信息:

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

如您所见,我尝试永久接受证书,但 msysgit 只是坐着,从不执行提取。

我做错了什么吗?没有支持吗?我找到了一个类似的 Stack Overflow post从十二月。我不确定我遇到的症状是否相同。

最佳答案

根据我的经验,git-svn 在 Windows 上运行不佳。我的建议是将你的 git import 放在 github 或任何其他 git 托管之类的东西上,并在 Windows 上使用“纯”git。这假设你有一个 unix(或者更糟的是 cygwin,我猜它应该比 msysgit 工作得更好)来进行 git-svn 更新。显然,这并不理想。

关于svn - Windows 上的 Git 和 SVN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1239577/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com