If --onto
is not set explicitly to select the target branch (master
by default), then autorebase
will now check your init.defaultBranch
git config setting before falling back to master
. This means if you have set it to main
or develop
it will use that. You can do that on a global or per-repo basis.