美文网首页
提高git clone的速度的终极方法

提高git clone的速度的终极方法

作者: Bryan_Chen | 来源:发表于2017-07-11 11:41 被阅读444次

网上搜索很多说修改host来解决,博主使用修改host的方法速度时好时坏。
实在是用着上火,还是决定使用代理来解决。

1.有ss,木有的请另行解决。

2.git 设置 socks5 代理。

git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'

3.开启ss开启全局模式(理论上,PAC模式也可以)。

测试了几次,速度偶尔可以达到2M/s以上,终于不再感觉生无可恋了!

相关文章

  • 提高git clone的速度的终极方法

    网上搜索很多说修改host来解决,博主使用修改host的方法速度时好时坏。实在是用着上火,还是决定使用代理来解决。...

  • 提高git clone的速度

    vi ~/.gitconfig添加[http]proxy = socks5://127.0.0.1:1080[ht...

  • 提高git clone速度

    把下面两行加到host文件末尾 151.101.72.249 github.http://global.ssl.f...

  • git proxy

    github访问很慢,git clone下载代码的速度只有几十KB,可以用如下方法提高github下载速度 htt...

  • github使用记录

    系统环境 ubuntu 或者 win10的ubuntu应用。 1 提高终端中git clone的速度 1.1 开启...

  • git clone 下载速度慢的解决方法

    git clone 下载速度慢的解决方法 在https://www.ipaddress.com 查找 http:/...

  • git 命令

    初始化流程 方法1:git clone -- 简单点,这个方法简单点 eg: git clone xx.git(地...

  • 提高github的clone速度

    前言 买了本《Spring源码深度解析》,需要在从git上clone一份spring framework的源码,2...

  • 加快git clone速度

    https://blog.51cto.com/11887934/2051323

  • git clone 速度太慢

    windows修改host文件: C:\Windows\System32\drivers\etc\hostslin...

网友评论

      本文标题:提高git clone的速度的终极方法

      本文链接:https://www.haomeiwen.com/subject/cbnphxtx.html