i made a mistake so my branch now is:
master -> a -> b
but its suppose to be
master -> a
master -> b
now b has a's changes and now ive committed a bunch of stuff on b already. is there any way i can do so branch b braches off from master and not from a?
这个确切的情况在git rebase
手册中作为示例显示:
git rebase --onto master a b
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.