yum install -y git-svnapt-get install -y git-svnbrew install git subversiongit bashgit svn clone svn仓库地址注: 如果出现了下面的情况
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: 'src' path not found
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories不要吃惊,它是在进行转换操作~

git remote add origin git仓库地址git push -u origin mastergit svn clone svn://ip端口/projectname --no-metadata --authors-file=users.txt projectname--authors-file=users.txt (svn账号与git账号映射,users.txt) projecename 文件名称