oh my zsh Cannot pull with rebase......
2015-12-01 09:35
344 查看
升级oh_my_zsh报错:“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上也发现有人提过这样的issue。但解决方法都不对,最后看到一外国哥们这样解决了问题:
1)
2)
3)
4)
我一试还真行,通过git status -s查看发现原来是增加主题后本地的master分支有变化造成的。
commit后就ok了。
再次使用upgrade_oh_my_zsh命令升级
一切ok!
本文出自 “好好生活,快乐工作!” 博客,请务必保留此出处http://yjw1983.blog.51cto.com/265702/1718387
在github上也发现有人提过这样的issue。但解决方法都不对,最后看到一外国哥们这样解决了问题:
1)
cd ~/.oh-my-zsh/
2)
git add .
3)
git commit -m "commit message"
4)
upgrade_oh_my_zsh
我一试还真行,通过git status -s查看发现原来是增加主题后本地的master分支有变化造成的。
commit后就ok了。
再次使用upgrade_oh_my_zsh命令升级
一切ok!
本文出自 “好好生活,快乐工作!” 博客,请务必保留此出处http://yjw1983.blog.51cto.com/265702/1718387
相关文章推荐
- 倒序输出字符串
- <c:forEach>详解
- 字符编码的问题
- 前端开发书籍推荐
- rabbitmq-InternalExchange
- 移动端注意事项
- 对request.getSession(false)的理解(附程序员常疏忽的一个漏洞)
- LeetCode -- Minimum Path Sum
- Resharper的使用
- c指针在函数调用过程中的问题
- cf 红名计划!
- java的常见异常与错误总结
- 安装windows server Hyper-v
- 安装windows server Hyper-v
- Q:按F12进行网络安装系统时,一直无法进入,提示加载失败?
- java 中遇见的面试题。
- ViewPager+FragmentPagerAdapter+RadioGroup实现顶部菜单栏
- 七个你无法忽视的Git使用技巧
- 【译】用Fragment解决屏幕旋转(状态发生变化)状态不能保持的问题
- Java 接口和抽象类区别