I have situation like this:
H---I---J feature2
/
E---F---G feature1
/
A---B---C---D master
I want to keep my master up-to-date since it is changing very frequently while working on the features. My current way of work is as follows:
git checkout master
git pull
git checkout feature1
git rebase master
git checkout feature2
git rebase feature1
Is there any simpler way to do all these steps? I'm using latest sable git version. Also, I sometimes have situation like this with even 6 feature branches, so it would be great if any solution would be extensible for many feature branches on top of another.