国内拉取 GitHub 网路慢

2 天前
 programMrxu
在拉取代码的时候,由于网络问题,会导致拉代码的时候速度特别慢,是 40 kib/s ,我使用小火箭打开代理,但是会失败。大家平时都是这么拉取代码的
1267 次点击
所在节点    问与答
10 条回复
donaldturinglee
2 天前
你让 git 走代理不就好了,不然你就开 TUN
565656
2 天前
域名后缀 github.com proxy
stinkytofux
2 天前
现在国内网络已经劣化的不翻墙无法正常使用的地步, 尤其是计算机相关的行业. github.com 肯定是走代理的.
sunny352787
2 天前
https://gist.github.com/coin8086/7228b177221f6db913933021ac33bb92

按这个说明设置.ssh/config ,添加 ProxyCommand 试试
sir283
2 天前
猫咪以管理员权限运行,然后拉代码,即可成功。
v1
2 天前
自建 git-proxy
zaunist
1 天前
在 git 的 config 中设置端口为 443 来试试看,比如像我这样:

Host github.com
Hostname ssh.github.com
Port 443
User git
itechify
1 天前
huijiewei
1 天前
git config --global http.https://github.com.proxy socks5h://127.0.0.1:1080
wdssmq
1 天前
先试试 host 方案:
https://github.com/521xueweihan/GitHub520

对于 win 系统,设置 ssh 代理的姿势如下:

Host github.com
HostName github.com
User git
ProxyCommand "C:\Program Files\Git\mingw64\bin\connect.exe" -S 127.0.0.1:10808 %h %p

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1160890

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX