Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: