After cloning an SVN repository using git-svn with the -s
option (git svn clone http://server/repo -s
), how does one create a branch or tag and have pushed to the relevant branch/tag directory in the repository when dcommit
ing?
For instance; if I were to use git to create a foobar
branch locally (git checkout -b foobar
) how can I have git-svn create the branch on the server (http://server/repo/branches/foobar
)?
I'm using Git 1.5.5.6.
Please Note:
The accepted method below does not work with Git 1.5.5.6 as there is no git svn branch
method. I'm still looking for a solution to this that doesn't involve resolving to working with svn directly.