flutter - Flutter upgrade fail
问题描述
When I attempt to update Flutter I get the following error.
error: Your local changes to the following files would be overwritten by merge: examples/flutter_gallery/ios/Runner.xcodeproj/project.pbxproj
Please commit your changes or stash them before you merge.
Aborting Updating f9bb4289e..5ab9e7072 Process finished with exit code 1
I suspect at some point I did something in the examples project and I don't care about loosing the changes.
What is the easiest thing to do?
解决方案
转到您的颤振主目录并执行git checkout .
或git reset head --hard
推荐阅读
- kotlin - 在finally中抛出异常时返回类型不匹配
- python - Opencv:最大轮廓上的 convexityDefects 给出错误
- parsing - 在标签内查找文本
- node.js - 传递日志请求对象时在节点中使用 log4js 时出错
- ios - 在点击时突出显示 uicollectionview 单元格
- php - Cannot copy text correctly due to repeating Ajax call
- ansible - Ansible 连接失败:未知类型
- finance - 无法使用带有 zipline 数据框的 pandas excel 编写器?
- mallet - Mallet 超参数优化
- python - 如何从 Python 中的双/三元组的输出中删除列表特殊字符(“()”、“'”、“”)