For Git v2.22, the following information regarding the --rebase-merges option can be found on the git rebase documentation page:
By default, or when no-rebase-cousins was specified, commits which do not have
<upstream>as direct ancestor will keep their original branch point, i.e. commits that would be excluded by git-log's --ancestry-path option will keep their original ancestry by default. If the rebase-cousins mode is turned on, such commits are instead rebased onto<upstream>(or<onto>, if specified).
Unfortunately, the detailed documentation sections at the bottom of that page do not show any examples of the no-rebase-cousins or rebase-cousins options to --rebase-merges. I'm also not too familiar with git log --ancestry-path (I never use it), so that example doesn't help my understanding at all.
Can someone explain, with examples, the behavior of the rebase-cousins parameters to the --rebase-merges option?