When I'm trying to pull and rebase single branch, git is failing with Cannot rebase onto multiple branches
.
I've browsed existing questions and all of them suggest specifying the branch to avoid the error. In my case it's still failing:
$ git pull --rebase origin master
From github.com:xxx/yyy
* branch master -> FETCH_HEAD
Cannot rebase onto multiple branches
Running the command for 2-3 times helps and the repository gets pulled.
My git config:
[color]
ui = true
[core]
pager = less -r
autocrlf = input
excludesfile = /Users/kir/.gitignore_global
editor = /usr/bin/vim
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
Git version: 2.7.2 (latest from Brew)