Yeah, you need to rebase the tip of the feature branch stack. git will then update all the refs that point to ancestor commits that are moved. So in this case
$ git rebase --update-refs main feature-2
Thanks! Yup, that does the trick.
Thanks! Yup, that does the trick.