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

前端 未结 30 1640
离开以前
离开以前 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:37

    See the official git-svn manpage. In particular, look under "Basic Examples":

    Tracking and contributing to an entire Subversion-managed project (complete with a trunk, tags and branches):

    # Clone a repo (like git clone):
        git svn clone http://svn.foo.org/project -T trunk -b branches -t tags
    

提交回复
热议问题