git - 代理连接在访问 git 时中止

标签 git laravel proxy git-clone http-proxy

我正在尝试使用命令克隆以下存储库: git 克隆 https://github.com/laravel/laravel.git

我收到以下错误:

Cloning into 'laravel'...
error: Proxy CONNECT aborted while accessing https://github.com/laravel/laravel.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

出了什么问题?

最佳答案

我在代理后面,当我设置 git 以使用代理时,就像这个答案中所述:Getting git to work with a proxy server

我可以正确地克隆那个 laravel 仓库

关于git - 代理连接在访问 git 时中止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37566447/

相关文章:

git - git 的 "filemode"是什么?

git - 有没有办法在不存储的情况下将更改提交到多个分支?

git - 编写拒绝无效子模块提交的 git update hook 的最佳方法是什么?

python - 在Python中拦截和过滤对HTTPS服务器的请求?

java - 使用 Java 检查系统的互联网连接

git - gcloud git clone 问题 - Windows 10

php - 根据旧记录的值从查询中获取新记录

Laravel Composer 安装失败,在 ubuntu 中出现错误

ajax - 我想通过 AJAX @yield 或 @include 一个 laravel blade 模板与另一个模板,这怎么可能?

php - 什么是 Chrome 数据压缩代理?