技术分享 oh-my-zsh 更新 1upgrade_oh_my_zsh 当无论是自动更新还是手动upgrade_oh_my_zsh更新oh-my-zsh时,出现下面提示: 1 2 3 4Updating Oh My Zsh error: cannot pull with rebase: You have unstaged changes. error: please commit or stash them. There was an error updating. Try again later? 这是因为修改了oh-my-zsh的git文件,可以使用如下方式更新: 1 2 3 4 5cd ~/.oh-my-zsh git status git stash upgrade_oh_my_zsh git stash pop 转载自:lvhy踩坑之路的oh-my-zsh 更新 此页面有帮助吗? 谢谢你的反馈! Thanks for your feedback! Help us improve this page by using our feedback form.