当前位置:   article > 正文

Flutter error:The following untracked working tree files would be overwritten by merge:_flutter channel stable的时候报错the following untracked

flutter channel stable的时候报错the following untracked working tree files w
  1. C:\Users\86152>flutter upgrade --force
  2. Upgrading Flutter from G:\flutter...
  3. error: The following untracked working tree files would be overwritten by merge:
  4. .github/ISSUE_TEMPLATE/1_activation.md
  5. .github/ISSUE_TEMPLATE/2_bug.md
  6. .github/ISSUE_TEMPLATE/3_feature_request.md
  7. .github/ISSUE_TEMPLATE/4_performance_others.md
  8. .github/ISSUE_TEMPLATE/5_performance_speed.md
  9. .github/ISSUE_TEMPLATE/6_infrastructure.md
  10. .github/ISSUE_TEMPLATE/config.yml
  11. .github/lock.yml
  12. CODEOWNERS
  13. PATENT_GRANT
  14. bin/dart/web/bench_dynamic_clip_on_static_picture.dart.....
  15. Updating b593f5167b..8874f21e79
  16. Aborting

 

切换到Fluuter SDK 目录下,地址栏目输入cmd 依次执行命名

$ git fetch origin

$ git clean -f

$ git reset --hard origin/master

查看是否成功 flutter doctor

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/688740
推荐阅读
相关标签
  

闽ICP备14008679号