rebase.autostash saves the stash dance
A rebase or pull refuses to run with a dirty tree, so you stash, run it, pop, and forget the pop one time in ten.
git config --global rebase.autostash true
git config --global pull.rebase trueWith both set, git pull rebases your branch on the remote and stashes and restores your local changes around it, in one command.
git