SVN to GitHub migration

♀尐吖头ヾ 提交于 2019-12-20 07:40:24

问题


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"

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


回答1:


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.



来源:https://stackoverflow.com/questions/50106970/svn-to-github-migration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!