Oh shit, I started my feature branch off the wrong branch and now have a tonne of work on it
And when I do `git rebase main` it just tells me that everything is already up-to-date 😱.
```
$ git rebase --onto <new-start-point> <old-start-point> <branch-to-change>
```
[RTFD](https://git-scm.com/book/en/v2/Git-Branching-Rebasing#_more_interesting_rebases) 😮💨 Thanks git.
1 条评论