I think the problem can be solved by deleting the option "--rebase" in tools/upgrade.sh. (~/.oh-my-zsh/tools/upgrade.sh )
git pull origin master
来源:
https://github.com/robbyrussell/oh-my-zsh/issues/1991
https://github.com/robbyrussell/oh-my-zsh/issues/549
Whenever i try to use 'upgrade_oh_my_zsh' the following error occures :