美文网首页
flutter更新 Your local changes to

flutter更新 Your local changes to

作者: 年少太轻狂 | 来源:发表于2019-08-24 00:15 被阅读0次

Flutter升级更新的时候报错Your local changes to the following files would be overwritten by merge....

Please commit your changes or stash them before you merge

解决办法   打开终端

1. $ cd /Users/用户名/FlutterSDK/flutter 

2.$  git status

3.$ git branch

4.$ git reset --hard HEAD

5.$ git pull

6 $ flutter upgrade

相关文章

网友评论

      本文标题:flutter更新 Your local changes to

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