1

I have some code that I want to put into an svn repository for a client after doing some work on it in git, is there any way to initialize a svn repository using a git repository's history?

I have initialized git repositories from svn repositories, and regularly commit between existing svn and git repositories, but I don't know how to go about in the opposite direction, creating an svn repository from a git repository.

Kzqai
  • 22,588
  • 25
  • 105
  • 137

2 Answers2

1

Yeah, Google Code has a good example. An adapted example is described here.

The gist of it is that you need to fake out the first commit and then rebase and dcommit.

Carl Norum
  • 219,201
  • 40
  • 422
  • 469
0

try using git-svn - Bidirectional operation between a Subversion repository and git...

Laimoncijus
  • 8,615
  • 10
  • 58
  • 81