【flutter】flutter upgrade でエラー

Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them via "git stash"
or else commit the changes to a local branch. If it is okay to remove local changes, then re-run this command with "--force".

エラーと言うか注意文か。色々設定をやって、flutter doctor 実行したら新しいのがでているようなので
flutter upgrade を実行したら上記のようなメッセージが。

特に気しないのであれば書いてあるとおり

$flutter upgrade –force

でOK

ちょっと焦った。