Search code examples
gitgit-svn

Convert existing SVN working copy to git repository


I have SVN working copy on machine and I want to create git local repository from it. After that I want to be able to push my changes from newly created local git repository to svn repository. My idea is to avoid cloning svn repository via git-svn because it would take some amount of time.


Solution

  • My idea is to avoid cloning svn repository via git-svn because it would take some amount of time.

    Sorry, but there's no way around that.

    The git repository created by git svn clone will contain the complete history of the SVN repo (unless you limit the clone process). That information is not contained in your SVN working copy, so git svn clone must fetch it from the SVN server.