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
  • 21,980
  • 22
  • 103
  • 132

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
  • 210,715
  • 34
  • 410
  • 462
0

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

Laimoncijus
  • 8,355
  • 10
  • 57
  • 80