美文网首页
flutter项目在Xcode中运行时报错:error: key

flutter项目在Xcode中运行时报错:error: key

作者: 肉肉要次肉 | 来源:发表于2023-04-12 10:40 被阅读0次

git出现error: key does not contain a section: i 错误,经分析应该是~/.gitconfig中信息配置有错误。

终端命令打开~/.gitconfig

vim ~/.gitconfig

发现多了一个i,可能是在进入编辑状态时,不小心输入了一个中文状态下的i,导致了这个报错。

将i删除就行了。

然后按 Esc ,输入 :wq 保存并退出。

相关文章

网友评论

      本文标题:flutter项目在Xcode中运行时报错:error: key

      本文链接:https://www.haomeiwen.com/subject/ceonddtx.html