svn - 尝试通过 git 克隆 SVN 存储库时出现奇怪的错误

标签 svn git git-svn

我尝试克隆 Linux Libertine 项目的存储库。这是一个 SVN 存储库,但我想使用 git 作为我的个人后端。现在,我收到一条奇怪的错误消息:

$ git svn clone -s  http://linuxlibertine.svn.sourceforge.net/svnroot
Initialized empty Git repository in /home/robert/svnroot/.git/
Repository has been moved: Repository moved temporarily to 'http://linuxlibertine.svn.sourceforge.net/svnroot'; please relocate at /usr/lib/git-core/git-svn line 1923

谁能帮帮我?

最佳答案

您使用的 URL 实际上存在重定向循环(您可以使用浏览器检查)。

然而,根据develop page SourceForge 上的项目,您没有使用正确的 URL:您应该改用 http://linuxlibertine.svn.sourceforge.net/svnroot/linuxlibertine

$ git svn clone -s http://linuxlibertine.svn.sourceforge.net/svnroot/linuxlibertine

关于svn - 尝试通过 git 克隆 SVN 存储库时出现奇怪的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6268907/

相关文章:

git - 将单独的 SVN 目录导入为 git 分支

regex - git-svn clone 忽略文件夹的路径正则表达式

svn - 如何使用 TextMate 作为我的命令行颠覆消息编辑器?

apache - Redmine.pm 不适用于 Authen::Simple::LDAP

php shell exec 的行为与直接运行命令不同

git - Unity 和 git : multiproject structure and symbolic links, 更好的解决方案?

android - 我应该在公共(public) GitHub 存储库中包含 build.gradle 文件吗?

java - maven会改变我的项目的名称,如何阻止它?

git - 如何修复 git bash 错误异常 : STATUS_ACCESS_VIOLATION

svn - svn2git错误:[svn远程“svn”]未知