Stashes uncommitted changes before rebasing and pops them back afterwards, so a dirty working tree no longer blocks the operation. Without it Git refuses to rebase with local modifications. The stash is reapplied on top of the rebased branch.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.