views:

47

answers:

2

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.

A: 

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

Laimoncijus
+1  A: 

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