美文网首页
解决pod,homebrew,github等速度过慢问题

解决pod,homebrew,github等速度过慢问题

作者: SeanLink | 来源:发表于2021-01-16 17:38 被阅读0次

    1.设置终端代理:

    git config --global http.proxy socks5://127.0.0.1:7890&&git config --global http.https://github.com.proxy socks5://127.0.0.1:7890
    

    设置成功之后就可以了。
    2.取消终端代理

    git config --global --unset http.proxy&&git config --global --unset http.https://github.com.proxy
    

    另外全局终端代理

    export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
    

    取消终端代理

    unset http_proxy  # 取消http 代理访问
    unset https_proxy # 取消https 代理访问
    
    解决前后对比 561614753276_.pic_hd.jpg
    pod install --verbose --no-repo-update
    pod update --verbose --no-repo-update
    

    更新单个库

    pod update 库名 --verbose
    

    相关文章

      网友评论

          本文标题:解决pod,homebrew,github等速度过慢问题

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