svn - Windows 上的 Git 和 SVN

标签 svn git msysgit

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

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

git svn init https://myproject.svn.codeplex.com
git 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/

相关文章:

git - 如何使用 Git 扩展创建补丁

windows - msysgit vim 光标线在我的浅色背景上是深色的。如何将其设置为点亮或关闭

git - 将一个特定的 svn 分支单独克隆到 git 中,并单独使用该分支的版本历史记录

svn - 作为 Web 开发人员,使用 VCS 对我有帮助吗?

svn - 合并后无法将 jar 文件提交到 svn : 502 'Bad Gateway'

java - 了解冲突 merge 算法

python - 在 python 脚本中运行 “git clone https://remote.git” 时如何提供密码(有 @ )?

来自现有自定义 SVN 的 git-svn 文件夹

git - 防止 PowerShell "boxing"程序输出

svn - 颠覆视觉树