美文网首页
Git Proxy 设置无效问题

Git Proxy 设置无效问题

作者: 夙小叶 | 来源:发表于2021-01-23 09:44 被阅读0次
    截屏2021-01-21 下午7.20.04.png

    常见设置:

    git config --global http.proxy 127.0.0.1:1080
    
    # or
    
    git config --global http.proxy "127.0.0.1:1080"
    

    设置之后,Git 并没有起作用(timeoutProxy CONNECT aborted

    解决:

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

    使用 协议 + Host 的完整代理地址

    相关文章

      网友评论

          本文标题:Git Proxy 设置无效问题

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