1.准备Git存储库:
2.本地新建一个空的项目文件夹,在文件夹内部鼠标右键,使用Git Bash Here,输入命令:
git svn clone svnUrl //其中里面的svnUrl就是你要迁移的项目的SVN地址
3.下载完成后,进入刚刚新建的那个空的项目文件夹,在文件夹内部鼠标右键,使用Git Bash Here,输入命令:
git remote add origin gitUrl //其中gitUrl是你要迁移的目标Git项目地址 git add . git commit -m "Initial commit" git push -u origin master