You have uncommitted edits
CommonWork in progress in tracked files, staged or not.
Confirm
git status --short
M in either column next to a file
Fix
- Commit them first if they belong on the branch: git commit -am "…", then rebase.
- Or stash around the rebase: git stash, git rebase main, git stash pop.
- Or in one step: git rebase --autostash main (or git pull --rebase --autostash), then check git status for conflicts.
git rebase --autostash main
Reproduced on Git 2.50.1 and 2.43.0: printed Applied autostash; a staged edit came back unstaged.