tags:

views:

18

answers:

0

I'm working with git locally, so I have many branches at a given time. Collaboratively, the project runs off a single subversion repository. When I need to update my local, the workflow is similar to the following:

git checkout master
svn update
git add .
git commit -am "updated from svn"

Now I may have several branches that are behind my master. To get a single branch current, I'll checkout the branch and rebase like so:

git checkout new-feature
git rebase master

I usually have to do this with many branches and rarely just one branch. I'm wondering if it is possible to rebase more than one branch with a single command?