Bryan Lee <hi@xxxxxxxxxx> wrote: > > 3. Set global Git configuration for automatic rebasing and stashing: > $ git config --global pull.rebase true > $ git config --global pull.autostash true > > Verify the configuration is set: > $ git config --global pull.rebase > true > $ git config --global pull.autostash > true Maybe you can try `git config rebase.autostash true` instead. > The difference is that Git is not honoring the pull.autostash=true > configuration when the repository is accessed using --git-dir and > --work-tree flags. The autostash feature is completely ignored, and > Git behaves as if pull.autostash=false. I’m not sure why this difference happens either. - Lidong