不能更新 Can't update using upgrade_oh_my_zsh

Whenever i try to use 'upgrade_oh_my_zsh' the following error occures :

~ » upgrade_oh_my_zsh
Upgrading Oh My Zsh
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
There was an error updating. Try again later?
 

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

猜你喜欢

转载自justcoding.iteye.com/blog/1950593