Cherry-picking from git to svn (or, How to keep a project history in git and releases in svn)

Posted by Jawa on Stack Overflow See other posts from Stack Overflow or by Jawa
Published on 2010-03-19T11:26:09Z Indexed on 2010/03/19 11:31 UTC
Read the original article Hit count: 303

Filed under:
|
|
|

I'm in a position where I'm the only one using git, everybody else is using svn. I've used 'git svn' to connect to the team svn and mostly it works just fine. Lately, I've started a project initially on my own, separate git repo and now I need to merge stuff from it to the svn. However, I still would like to keep tweaking the implementation in my own privacy between releases.

So, what would be the most straightforward way to cherry-pick some commits from my private repo to the svn-cloned repo? Requirement is to keep full local history and have only one svn commit for each pick. Or is there some squashing to be done?

As a method to achieve this, is there a way to get the private repo as another origin for the svn-cloned repo?

© Stack Overflow or respective owner

Related posts about git

Related posts about git-svn