Hacker News new | ask | show | jobs
by mhw 195 days ago
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
1 comments

Thanks! Yup, that does the trick.