您当前的位置: 首页 >  git

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

git太慢时的加速办法,测试有效

柳鲲鹏 发布时间:2020-03-25 06:40:04 ,浏览量:0

  • 办法1,测试无效

/etc/hosts

C:\Windows\System32\drivers\etc\hosts

添加

192.30.255.112 github.com
103.245.222.249 github.global.ssl.fastly.net

重启。测试无效。

  • 办法2,测试有效
git config --global http.proxy 127.0.0.1:50647
git config --global https.proxy 127.0.0.1:50647

git config --global  http.https://github.com.proxy 127.0.0.1:50647
git config --global https.https://github.com.proxy 127.0.0.1:50647
  • 下载时间

早上8点之前,下载速度飞快。一到9点速度马上就下降了。

这个吾分析过,白天中国人上班,下午开始美国人上班,所以最好是下半夜。

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0563s