Hi git-people, I ran into strange behavior when having rebase.autostash enabled and doing a git pull --rebase: > git config rebase.autostash true > git pull --rebase Updating cd9ff8a..f3c9840 error: Your local changes to the following files would be overwritten by merge: content Please commit your changes or stash them before you merge. Aborting Confusingly, this fixes the issue: > git config merge.autostash true > git pull --rebase Updating cd9ff8a..f3c9840 Created autostash: c615fda Fast-forward content | 1 + 1 file changed, 1 insertion(+) Applied autostash. Leaving me wonder why merge config options fix rebase behavior. So, in order to make it easier to check the problem, I added some test-cases to the git test-suite. Please see the attached patch. Or here: https://github.com/tvogel/git/commit/bc941f9357518a34cfa11788dfb8e7fa7f711705 I did not try to find the root-cause as I am not experienced with the code-base but if there are questions, let me know. Best regards, Tilman