Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 下载Git Clone时出错?_Macos_Git_Clone - Fatal编程技术网

Macos 下载Git Clone时出错?

Macos 下载Git Clone时出错?,macos,git,clone,Macos,Git,Clone,我正在打开终端,按如下方式编写命令 git clone url 上面写着 Cloning into code.xyz.com... 我得到了一个错误 error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while acce

我正在打开终端,按如下方式编写命令

 git clone url
上面写着

Cloning into code.xyz.com...
我得到了一个错误

    error: SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://code.xyz.com/info/refs

    fatal: HTTP request failed

我正在使用Mac OS X 10.7,有人能告诉我该怎么做吗,我有正确的用户名和密码,和正确的url?

尝试删除https并仅在克隆url中使用http。

尝试删除https并仅在克隆url中使用http。

问题是您的系统上没有安装任何证书颁发机构证书

忽略ssl证书验证并继续安装:

$ env GIT_SSL_NO_VERIFY=true git clone https://github...
或者,您可以在MAC oS上尝试以下操作:

git config --global --add http.sslVerify false

问题是您的系统上没有安装任何证书颁发机构证书

忽略ssl证书验证并继续安装:

$ env GIT_SSL_NO_VERIFY=true git clone https://github...
或者,您可以在MAC oS上尝试以下操作:

git config --global --add http.sslVerify false

,假设它是我的URL,那么我应该用Mac OS X终端写什么命令?假设它是我的URL,那么我应该用Mac OS X终端写什么命令?这个错误已经解决了,但是现在得到了这个致命的错误:未找到:你在服务器上运行了git update server info吗?我得到了这个链接,请查看这个新错误接受你的答案,如果您知道about new error@Mithunthat error solved,但现在得到这个致命错误:not found:您在服务器上运行git update server info了吗?我得到了这个链接,看到这个新错误接受了您的答案,如果您知道about new error@Mithun,请让我来指导