You can see if the following works OK:
1)If svn-remote.svn.rewriteRoot does not exist in config file:
git config svn-remote.svn.rewriteRoot <currentRepository>
2)If svn-remote.svn.rewriteUUID does not exist in config file:
git config svn-remote.svn.rewriteUUID <currentRepositoryUUID>
currentRepositoryUUID can be obtained from .git/svn/metadata
3) git config svn-remote.svn.url <newRepository>
本文介绍如何使用Git配置选项来实现类似svn switch --relocate的功能,以迁移到新的SVN仓库地址。通过设置rewriteRoot及rewriteUUID参数指向新的仓库位置与UUID,并更新svn-remote.svn.url参数为新的仓库URL,完成迁移过程。
3248

被折叠的 条评论
为什么被折叠?



