Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.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
Git curl:(35)服务器中止了Mac OS X El Capitan中的SSL握手(10.11.4)_Git_Macos_Ssl_Bitbucket - Fatal编程技术网

Git curl:(35)服务器中止了Mac OS X El Capitan中的SSL握手(10.11.4)

Git curl:(35)服务器中止了Mac OS X El Capitan中的SSL握手(10.11.4),git,macos,ssl,bitbucket,Git,Macos,Ssl,Bitbucket,运行此命令时: git clone <bitbucket repo>.git 输出: git版本2.9.2 我无法理解问题是安装在Mac中的git还是Mac中的git。明白了。 这是因为我在一个代理后面,而这个代理并没有在命令行中设置为环境变量(虽然它是在系统首选项->网络->局域网中设置的) 如果您在代理后面,请在~/.bashrc文件中添加以下两行: export http_proxy=http://<proxy_url>:<proxy_port>/ e

运行此命令时:

git clone <bitbucket repo>.git
输出:

git版本2.9.2

我无法理解问题是安装在Mac中的git还是Mac中的git。

明白了。 这是因为我在一个代理后面,而这个代理并没有在命令行中设置为环境变量(虽然它是在系统首选项->网络->局域网中设置的)

如果您在代理后面,请在~/.bashrc文件中添加以下两行:

export http_proxy=http://<proxy_url>:<proxy_port>/
export https_proxy=https://<proxy_url>:<proxy_port>/
导出http_proxy=http://:/ 导出https\u proxy=https://:/ 明白了。 这是因为我在一个代理后面,而这个代理并没有在命令行中设置为环境变量(虽然它是在系统首选项->网络->局域网中设置的)

如果您在代理后面,请在~/.bashrc文件中添加以下两行:

export http_proxy=http://<proxy_url>:<proxy_port>/
export https_proxy=https://<proxy_url>:<proxy_port>/
导出http_proxy=http://:/ 导出https\u proxy=https://:/