如何将具有历史记录的SVN存储库迁移到新的Git存储库?

时光总嘲笑我的痴心妄想 提交于 2020-08-16 22:27:07

问题:

I read the Git manual, FAQ, Git - SVN crash course, etc. and they all explain this and that, but nowhere can you find a simple instruction like: 我阅读了Git手册,常见问题解答,Git-SVN崩溃课程等,它们都对此进行了解释,但是在任何地方都找不到像这样的简单说明:

SVN repository in: svn://myserver/path/to/svn/repos SVN存储库位于: svn://myserver/path/to/svn/repos

Git repository in: git://myserver/path/to/git/repos Git存储库位于: git://myserver/path/to/git/repos

git-do-the-magic-svn-import-with-history \
svn://myserver/path/to/svn/repos \
git://myserver/path/to/git/repos

I don't expect it to be that simple, and I don't expect it to be a single command. 我不希望它那么简单,也不希望它是单个命令。 But I do expect it not to try to explain anything - just to say what steps to take given this example. 但我确实希望它不会尝试解释任何内容-仅说明在此示例中应采取的步骤。


解决方案:

参考一: https://stackoom.com/question/Kar/如何将具有历史记录的SVN存储库迁移到新的Git存储库
参考二: https://oldbug.net/q/Kar/How-do-I-migrate-an-SVN-repository-with-history-to-a-new-Git-repository
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!