I am using git-svn to manage the Subversion repository using git. I usually have a large number of git branches at any given time.
I often need to update them so that they match the latest code in the repository, but I find that it hurts to run git checkout <branch>; git svn rebase git checkout <branch>; git svn rebase for each branch.
Is there an easier way to do this than writing a script (which would have to deal with conflicts)?
EDIT . Since the slowest part of the process contacts the subversion server and downloads the updates, itβs faster to run git svn rebase on one branch and then git svn rebase --local on the rest.
Is there any better way?
Tim bellis
source share