如何使用Git迁移SVN仓库
有人计划移动我正在处理的颠覆存储库(8000+ 次提交)。
有没有办法在迁移完成后使用 git-svn 重放旧位置的最后 20 次提交?
(不仅是我自己的提交,还有其他团队成员)
额外问题:如何将多个 svn 存储库添加到我的 git 本地副本?
Somebody is planning to move the subversion repository I work on (8000+ commits).
Is there a way to use git-svn to replay the last, say, 20 commits from the old location once the migration is finished?
(not only my own commits, but also other team members)
Bonus question: How do I add multiple svn repositories to my git local copy?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定 git svn 是适合这项工作的工具。文档包含讨论 --commit-url 选项时的声明:
我不确定该警告具体适用于什么,但它可能适用于您所描述的“桥梁”情况。如果您决定继续使用 git-svn,那么谨慎行事可能是明智之举。
I'm not sure that git svn is the right tool for that job. The documentation contains the statement when discussing the --commit-url option:
I'm not sure precisely what that warning applies to, but it may apply to the "bridge" situation you are describing. If you decide to proceed with git-svn, you may be wise to proceed with caution.