Mar*_*ook 1 version-control github dart visual-studio-code flutter
这是我尝试升级 flutter 时收到的错误日志
[flutter] flutter upgrade
ProcessException: Process exited abnormally:
remote: Repository not found.
fatal: repository 'https://github.com/marzookavc/flutter.git/' not found
Command: git fetch --tags
exit code 1
Run Code Online (Sandbox Code Playgroud)
flutter.git 不是我的项目名称 如何更改 url
承诺和推动工作完美!并且也无法更改频道
看起来您可能克隆了 Flutter 存储库的一个分支,然后将其删除。假设您没有进行任何更改/提交,您应该能够通过更新remote到官方 Flutter 存储库来修复它:
# In your *Flutter SDK* folder (not your project) in a terminal
git remote set-url origin https://github.com/flutter/flutter.git
flutter upgrade
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6715 次 |
| 最近记录: |