小编bao*_* le的帖子

git clone git-lfs filter-process: git-lfs: command not found

我正在尝试通过以下方式从 git 克隆一个项目:

git clone link
Run Code Online (Sandbox Code Playgroud)

并收到了这条消息

remote: Enumerating objects: 24533, done.
remote: Counting objects: 100% (24533/24533), done.
remote: Compressing objects: 100% (5045/5045), done.
remote: Total 24533 (delta 15448), reused 24389 (delta 15306), pack-reused 0
Receiving objects: 100% (24533/24533), 75.12 MiB | 10.96 MiB/s, done.
Resolving deltas: 100% (15448/15448), done.
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and …
Run Code Online (Sandbox Code Playgroud)

git-lfs

5
推荐指数
7
解决办法
3951
查看次数

安装cocoapods时SSL验证错误

我做了什么 sudo gem install cocoapods

这是来自终端的完整消息

ERROR:  You must add /C=BE/O=GlobalSign nv-sa/CN=AlphaSSL CA - SHA256 - G2 to your local trusted store
ERROR:  Could not find a valid gem 'cocoapods' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - hostname "rubygems.org" does not match the server certificate (https://rubygems.org/specs.4.8.gz)
ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
Run Code Online (Sandbox Code Playgroud)

我没有使用 SSL 的经验,但我关注了几个与我类似的问题,但没有运气

我试过的:

  • 下载并安装新的 SHA256 中间证书
  • 将主机名从 https 更改为 http
  • 遵循本指南但无法将 GlobalSignRootCA.pem …

ruby ssl cocoapods

3
推荐指数
3
解决办法
3553
查看次数

标签 统计

cocoapods ×1

git-lfs ×1

ruby ×1

ssl ×1