how to change to branch flutter

164 views
Skip to first unread message

carlos

unread,
Dec 20, 2020, 5:45:42 PM12/20/20
to Flutter Dev
Hello i install flutter manually
i run doctor and ok i test in android studio and vs code all ok
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.26.0-2.0.pre.86, on Linux, locale es_NI.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

if see this version is pre 1.26.0-2.0.pre.86
I would like to use the stable version (1.22.5)
how command in git needs to be used for that??

i now in docs used this
[git clone https://github.com/flutter/flutter.git -b stable --depth 1]
but i didn't see it when i installed it manually

Cheers
--
att.
Carlos Rocha

Hayi Nukman

unread,
Dec 20, 2020, 11:51:48 PM12/20/20
to Flutter Development (flutter-dev)
Hi, 

you can check your version using:
flutter channel

and then if you wanna change to stable, or other branch just do:

flutter channel stable

and then don't forget to upgrade it:
flutter upgrade

carlos

unread,
Dec 21, 2020, 10:33:10 AM12/21/20
to Hayi Nukman, Flutter Development (flutter-dev)
Thank i now on the stable branch :)

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e832decf-f25a-40e0-b3b5-c802b10ae4adn%40googlegroups.com.


--
att.
Carlos Rocha
Reply all
Reply to author
Forward
0 new messages