How do I migrate an SVN repository with history to a new Git repository?

前端 未结 30 1693
离开以前
离开以前 2020-11-22 02:51

I read the Git manual, FAQ, Git - SVN crash course, etc. and they all explain this and that, but nowhere can you find a simple instruction like:

SVN repository in: <

30条回答
  •  故里飘歌
    2020-11-22 03:46

    GitHub has an importer. Once you've created the repository, you can import from an existing repository, via its URL. It will ask for your credentials if applicable and go from there.

    As it's running it will find authors, and you can simply map them to users on GitHub.

    I have used it for a few repositories now, and it's pretty accurate and much faster too! It took 10 minutes for a repository with ~4000 commits, and after it took my friend four days!

提交回复
热议问题