
image.png
http://blog.51cto.com/yjw1983/1718387
升級oh_my_zsh報(bào)錯(cuò):“oh my zsh Cannot pull with rebase: You have unstaged changes. Please commit or stash them. There was an error updating. Try again later?”
在github上也發(fā)現(xiàn)有人提過這樣的issue。但解決方法都不對,最后看到一外國哥們這樣解決了問題:
cd ~/.oh-my-zsh/git add .git commit -m "commit message"upgrade_oh_my_zsh
我一試還真行,通過git status -s查看發(fā)現(xiàn)原來是增加主題后本地的master分支有變化造成的。
commit后就ok了。
再次使用upgrade_oh_my_zsh命令升級
一切ok!

