按照github的建议,尝试使用svn2git将我的本地SVN repo转换为Git。
我运行了以下代码:svn2git http://localhost/repo-name
我得到了这个错误:
RA layer request failed: OPTIONS of 'http://localhost/repo-name': 200 OK (http://localhost) at /usr/bin/git-svn line 1923
[svn-remote "svn"] unknown谷歌和相当彻底的搜索都没有结果。
有人能在这里说点什么吗?
发布于 2012-06-22 19:26:56
如果存储库是本地的,并且具有主干/分支/标记布局,则可以使用SubGit
$ subgit install path/to/svn/repository生成的存储库将位于路径/to/svn/ repository /.git它有另一个转换引擎而不是svn2git (svn2git在其中使用"git-svn“),所以它应该不会有这个问题。
如果您的存储库没有主干/分支/标记布局,您可以使用SmartGit进行转换,该转换也使用另一个转换引擎,而不是git-svn。
https://stackoverflow.com/questions/11151325
复制相似问题