I have a primary git repository for an opensource project
I want to mirror all commits to a svn repository (on code.google.com), is it possible ?
Yes, that is possible. Use Git's SVN features to import into a repository. You can then push back from there. You'll find that for the most part, though, that git can effectively show an SVN history better than SVN can show a git history.
If your git history is linear, you could try using git-svn. I would try using "git svn clone" to import the existing (empty) SVN repository into git, then rebase your existing git history onto that and "git svn dcommit" it.
If your git history isn't linear (contains branches and merges), you won't be able to properly represent it in SVN. In that case, I strongly suggest you use a git-based hosting solution instead (e.g. github.com).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With