New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter doctor
should report whether the Flutter install dir is clean
#25220
Comments
flutter doctor
should report if the Flutter install dir is cleanflutter doctor
should report whether the Flutter install dir is clean
Just git operation might not be enough. As some developers may have their own fork/branch, modifications. |
Related #1963 |
@christopherfujino We were discussing this recently.
|
really helpful! thanks |
If the Flutter install directory contains any changes
flutter doctor
orflutter doctor -v
should report that.It would make it easier for support questions that are caused by inadvertently modified files in the Flutter install dir.
I created https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#flutter-installation-corrupted because this happens quite a lot.
See also #9218
I'd suggest to do the
git clean -xfd
git stash drop
, ... when--force
(flutter upgrade --force
,flutter channel foo --force
) is passed.It might be useful to execute the
git clean
stuff withflutter upgrade --force
even when no upgrade is available.The text was updated successfully, but these errors were encountered: