美文网首页
Ubuntu17下git clone速度慢解决方法

Ubuntu17下git clone速度慢解决方法

作者: Troll__Zhao | 来源:发表于2017-05-12 16:45 被阅读0次

    如果有设置Shdowosocks之类的代理,可以如下设置:
    <pre>
    git config --global http.proxy 'socks5://127.0.0.1:1080'
    git config --global https.proxy 'socks5://127.0.0.1:1080'
    </pre>
    这里的单引号内的地址是你的代理地址,我这里使用的是Shdowsocks代理,所以使用的是socks5,127.0.0.1是我的本地代理地址,1080是代理的端口

    相关文章

      网友评论

          本文标题:Ubuntu17下git clone速度慢解决方法

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