2024-07-26 cocoapods pod instal

2024-07-25  本文已影响0人  小月_c665

解决办法:

检查 Git 配置文件中的设置:

全局配置文件:~/.gitconfig

本地配置文件:位于 Git 仓库根目录的.git/config

查找任何url条目并确保它们是正确的

[url "https://github.com/"]

    insteadOf = https://github.com.cnpmjs.org/

步骤

找到 cd ~/.gitconfig

打开 .gitconfig

文件最后改为 [url "https://github.com/"]

    insteadOf = https://github.com.cnpmjs.org/

上一篇 下一篇

猜你喜欢

热点阅读