Let’s say you’ve named your branches like so:
A -- B -- C -- D (master)
\-- E -- G -- H -- I -- J (current-parent)
\-- K -- L (my-branch)
What you want to do is rebase my-branch onto the B commit like so:
git rebase current-parent my-branch --onto B