SVN到GitHub的迁移 [英] SVN to GitHub migration

查看:148
本文介绍了SVN到GitHub的迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将多个目录从SVN干线迁移到一个单个GitHub存储库.我可以使用以下命令一次克隆单个目录:

I have to migrate multiple directories from SVN trunk to one single GitHub repository. I'm able to clone single directory at a time by using this command:

git svn clone "https://svn repo url"

如何使用svn trunk中的单个命令克隆多个目录?迁移的最佳方法是什么?

How to clone multiple directories with a single command from svn trunk? What is the best way to do migration?

推荐答案

以困难的方式

In the hard way officil svn to git migration you have to run a bunch of command to make the conversion, basically transforming trunk to master, svn revision's in commit's (git style) and svn tags (running git svn clone all tags are branches) to git tags.

使用此工具简单的方法,请注意

The easy way using this tool, beware of a bug if your svn repo is password protected.

这篇关于SVN到GitHub的迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆