Basically the same situation as Error "Fatal: Not possible to fast-forward, aborting" :
$ git pull
fatal: Not possible to fast-forward, aborting.
and its answer solved the problem:
$ git pull --rebase
Successfully rebased and updated refs/heads/master.
However, the question is on the next line:
To set this option globally, use git config --global pull.rebase true
I've already done that, both globally and locally:
$ git config --global pull.rebase
true
$ git config pull.rebase
true
But why I still need the --rebase
when doing git pull
?
There is also one answer there saying to turn rebase = false
, which I totally don't understand. Here is my sistuation:
$ grep -1 rebase ~/.gitconfig
[pull]
rebase = true
ff = only
How not to use the --rebase
when doing git pull
?