mirror of
https://github.com/flutter/flutter
synced 2024-10-12 11:12:54 +00:00
update flutter and flutter.bat command to suggest stable branch (#27556)
This commit is contained in:
parent
36c5e321a5
commit
1e127003ab
|
@ -162,7 +162,7 @@ if [[ ! -e "$FLUTTER_ROOT/.git" ]]; then
|
|||
echo "Error: The Flutter directory is not a clone of the GitHub project."
|
||||
echo " The flutter tool requires Git in order to operate properly;"
|
||||
echo " to set up Flutter, run the following command:"
|
||||
echo " git clone -b beta https://github.com/flutter/flutter.git"
|
||||
echo " git clone -b stable https://github.com/flutter/flutter.git"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ IF NOT EXIST "%flutter_root%\.git" (
|
|||
ECHO Error: The Flutter directory is not a clone of the GitHub project.
|
||||
ECHO The flutter tool requires Git in order to operate properly;
|
||||
ECHO to set up Flutter, run the following command:
|
||||
ECHO git clone -b beta https://github.com/flutter/flutter.git
|
||||
ECHO git clone -b stable https://github.com/flutter/flutter.git
|
||||
EXIT /B 1
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue