Some help please. This doesn't seem to do it for me:
git svn clone --stdlayout --authors-file=../authors.txt file:///home/path
The simplest way is to use svn2git , a ruby script that handles all of that for you. I've used it over the past 8 months or so to convert several quite large subversion repos to git; it's by far the best tool I've found for the job.
有一个非常完善的一套可用指令在这里 ,包括如何SVN“标签”和“分支”转化为实际的Git标签和分支。
I would try to clone your SVN with SmartGit : it translates such SVN concepts like branches, tags, ignores, EOLs to the corresponding Git concepts.
Maybe I will find an easy Howto....
I have had great luck with specifying the branches and tags explicitly:
git svn clone http://server.com/svn/project -T trunk -b branches -t tags project
git remote add origin git@server.com:project
git push origin master
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.