小编vet*_*122的帖子

gitlab 的 Git 克隆在 Linux 上失败,而在 Windows git bash 中工作

我是 Linux 新手,刚刚安装了 Lubuntu 并遇到了问题 - 当我尝试从公司的 git 克隆我的远程工作存储库时:

$ sudo git clone https://path/to/repo.git
Run Code Online (Sandbox Code Playgroud)

我不断收到错误:

Cloning into 'repo'...
fatal: unable to access 'https://path/to/repo.git/': server certificate verification failed. CAfile: none CRLfile: none
Run Code Online (Sandbox Code Playgroud)

我知道它提到了证书,但我没有。之前,我在 Windows 上工作,并且能够简单地 git 克隆这个存储库,而无需任何证书。

linux git ubuntu git-clone gitlab

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

标签 统计

git ×1

git-clone ×1

gitlab ×1

linux ×1

ubuntu ×1