美文网首页
记录换电脑之后环境安装错误

记录换电脑之后环境安装错误

作者: iOS程序员asdf | 来源:发表于2020-04-18 08:15 被阅读0次

安装cocoapods总会报错

[!] CDN: trunk Repo update failed - 12 error(s):

使用命令

pod repo remove trunk

删除掉trunk

pod install

就可以了

git 上传默认有100M限制,可以下载https://git-lfs.github.com,也可以更改上传限制,命令如下:

git config http.postBuffer 524288000

这样就修改上传限制为500M了
如果都不能解决的话,使用下面命令:

git filter-branch --index-filter 'git rm --cached --ignore-unmatch path/name'

相关文章

网友评论

      本文标题:记录换电脑之后环境安装错误

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