mirror-web/help/_posts/1970-01-01-flutter-sdk.git.md
Miao Wang 96c01f1658
Re-locate files
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-06 15:18:27 +08:00

24 lines
618 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
category: help
layout: help
mirrorid: flutter-sdk.git
---
## Flutter SDK 源码镜像使用帮助
Flutter SDK 默认从 Github 获取更新,如您访问 Github 速度慢,可以在 Flutter 目录下运行命令:
```
git remote set-url origin https://{{ site.hostname }}/git/flutter-sdk.git
```
将上游设置为 TUNA 镜像。
或者通过下面的命令,直接从 Master 构建渠道检出 Flutter 的 SDK
```
git clone -b master https://{{ site.hostname }}/git/flutter-sdk.git
./flutter-sdk/bin/flutter --version
```
Flutter 镜像使用方法参见 [Flutter 镜像安装帮助](../flutter)。