I have a fork of a project which I am contributing to. Currently, I have an open pull request from a branch on my fork (the master is clean, as in a duplicate of the original repository's master). So far no problems.
Now the original author pushed some new commits which I want to integrate into my branch (as those commits were made to aid my work on that branch). Is there a better way than to simply pull them into my fork and merge them with my branch?
I understand that rebasing isn't possible (or at least should be avoided), given that I am already using the commits for the pull request, and I really don't want to mess anything up (not for me, but also not for the original project author, given that he needs to merge in my changes at well at some later point).
So what I would do now is:
git pull upstream
git checkout mybranch
git merge master
git push
Is that the best way to do it?