git reset命令 比如
1.12.13---f139b11009aeb8ed2a3a3aa8b0066e482709dde3
1.17.5 ---8af6b2f038c1172e61d418869363a28dffec3cb4
git reset --hard f139b11009aeb8ed2a3a3aa8b0066e482709dde3
hard为当前版本提交的code码
比如 8af6b2f038c1172e61d418869363a28dffec3cb4
或者使用
flutter upgrade v1.20.0-7.0.pre
flutter release列表:https://github.com/flutter/flutter/releases