>One day (...) I stumbled upon a beautiful tutorial on git rebase
via this blog post I finally got around to reading: https://nullbuffer.com/2019/11/18/sourcehut_impressions.html
A rebase without onto, like:
rebase feature-1 feature-2
takes all commits that are in feature-2 but not in feature-1, and puts them on top of feature-1.
rebase --onto master feature-1 feature-2
it takes - like before - all commits that are in feature-2 but not in feature-1, but this time it puts them on top of master.
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !