I’d like to track a remote branch on SVN from within Git. I can see the basics of how to do this with the git-svn command, I was hoping to do something like the following:
Git branch | SVN branch
-----------------------
master | Trunk
feature1 | <not mapped>
feature2 | <not mapped>
so that once I merge into git/master, and then do dcommit, Trunk would be updated with only changes between the last svn commit and the git/HEAD.
Is this possible? how would I do it?
The
git svndocumentation describes working with Subversion’s trunk, but with a dirty master:To do your work on feature branches instead of master
When you’re ready to get your work back into Subversion, be sure to keep your history linear:
Ship it!