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

安装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'

你可能感兴趣的:(记录换电脑之后环境安装错误)