Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mhw
· 12mo ago · 0 comments
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
Comments
[–]
ptx
12mo ago
Thanks! Yup, that does the trick.