I have been using git-svn lately to manage an old svn repository through git.
I have recently been working in a branch that i created like this:
git checkout -b local-branch svn-branch
I have then since been working in that branch and commiting back to the svn-branch using:
git svn dcommit
Now that it's time to merge the local-branch back to master i tried to do the following:
git checkout master
git merge local-branch
So far, so good. Now i want to commit the merge back to subversion so i try this:
git svn dcommit
However, now my master is committing back to the svn-branch branch and not the trunk as i would have expected. Is there something i missed or is this kind of merging just not recommended to merge between svn branches like this?
As a side note, i instead did the merging through svn, but i would like to avoid having to use svn as much as possible. What is the preferred way to handle this?