dcommit to SVN in 1 commit after cherry-picking in git

Posted by DJ on Stack Overflow See other posts from Stack Overflow or by DJ
Published on 2010-02-28T22:26:22Z Indexed on 2010/03/20 0:11 UTC
Read the original article Hit count: 596

Filed under:
|

I would like to know if there is a clean way to do git-svn dcommit of multiple local commits as 1 commit into subversion.

The situation that I have is I am cherry picking some bug fixes changes from our trunk into the maintenance branch. The project preference is to have the bug fixes to be committed as 1 commit in subversion, but I would like to keep the history of changes that I had cherry-picked on my local git for references.

Currently what I do is to do all cherry-picking on branch X and then do a squash merge into new branch Y. The dcommit will then be done from branch Y.

Is there a better way to do it without using an intermediary branch?

© Stack Overflow or respective owner

Related posts about git-svn

Related posts about git