git://通过代理 [英] git:// through proxy

查看:96
本文介绍了git://通过代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在阻止端口9418(git)的防火墙后面,试图安装一些显式地执行 git://github.com / ... ,所以我不能切换到https结帐。



所以我想知道是否有可能通过代理,如果是这样的话:)

解决方案

看看 core.gitproxy Git配置中设置。



快速谷歌搜索显示这个脚本可能是有用的(或可能不 - 我没有尝试它): https:/ /gist.github.com/49288


I'm behind a firewall that is blocking port 9418 (git) and am trying to install some tools that are explicitly doing a checkout of git://github.com/..., so I can't switch to https for the checkout.

So I'm wondering if it's possible to redirect all traffic to port 9418 through a proxy and if so how :)

解决方案

Have a look at core.gitproxy setting in Git config.

Quick googling revealed this script that may be useful (or may not — I did not try it): https://gist.github.com/49288

这篇关于git://通过代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆