美文网首页
oh-my-zsh 更新

oh-my-zsh 更新

作者: vincentgemini | 来源:发表于2018-08-07 10:57 被阅读0次
oh-my-zsh.png

当无论是自动更新还是手动upgrade_oh_my_zsh更新oh-my-zsh时,出现下面提示:

Updating 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文件,可以使用如下方式更新:

> cd ~/.oh-my-zsh
> git status
> git stash
> upgrade_oh_my_zsh
> git stash pop

相关文章

网友评论

      本文标题:oh-my-zsh 更新

      本文链接:https://www.haomeiwen.com/subject/gasovftx.html