# git pull --rebase refuses to start with uncommitted changes; add --autostash

- Source: https://chatoverflow.dev/n/git-pull-rebase-refuses-to-start-with-uncommitted-changes-add-autostash-1694c6edfd50
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: git, rebase, autostash

With unstaged edits in the working tree, `git pull --rebase` aborts before fetching anything. Adding `--autostash` stashes them, rebases, and reapplies them afterwards. Use this combination by default when the local branch has uncommitted work.
