gitのリポジトリをsubversion用に変換

とりあえず、gitレポジトリは、git-flowで運用前提


git-svnで、svnリポジトリを取得

% git svn clone svn://path/to/repo -T trunk -t tags -b branches --prefix=svn/


gitのリポジトリをgit-svn のリモートとして登録

% cd repo
% git remote add org git@git.example.com:/path/to/repo.git
% git fetch org


org/developをcheckoutしてmasterをrebase

% git checkout -b develop org/develop
% git rebase master


CONFLICT対応 (ToT)


masterにdevelopをマージしてsvn側にコミット

% git checkout master
% git merge develop
% git svn dcommit


参考
http://www.coltware.com/2010/02/18/git_to_subversion/