Git:报错bash: git: command not found
如果安装好git后,运行git命令,报错。
bash: git: command not found
依次执行以下的代码就行了
$ export PUB_HOSTED_URL=https://pub.flutter-io.cn
$ export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
$ export PATH=`pwd`/flutter/bin:$PATH