美文网首页
【Git】解决 Failed to connect to git

【Git】解决 Failed to connect to git

作者: Wing_Li | 来源:发表于2023-05-22 13:26 被阅读0次

    将编译器设置为代理。

    设置代理,将端口号改为你自己的代理端口号

    git config --global http.proxy http://127.0.0.1:10887
    git config --global https.proxy http://127.0.0.1:10887
    

    取消全局代理

    git config --global --unset http.proxy
    git config --global --unset https.proxy
    

    相关文章

      网友评论

          本文标题:【Git】解决 Failed to connect to git

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