--autostash, --no-autostash
Automatically create a temporary stash entry before the
operation begins, and apply it after the operation ends. This
means that you can run rebase on a dirty worktree. However,
use with care: the final stash application after a successful
rebase might result in non-trivial conflicts.
it might be worth to have some "backup" strategy for such successful rebase that might result in non-trivial conflicts
we need an example