Git: How to rebase many branches (with the same base commit) at once?
I have a master branch in my project, that I use to pull changes from other people. From that, I usually have several topic branches on which I'm currently working. My question is: Is there a way for me to pull new changes into my master and then rebase ALL of my topic branches onto that at once? This is the situation: D--E topic1 / A--B--C master \ F--G topic2 And I want to accomplish this with one single command (H came from upstream) : D'--E' topic1 / A--B--C--H master \ F'--G' topic2 Now, I know I can accomplish this by rebasing topic1 and topic2 onto master, and I could even write a