git clone Google的volley代码遇Q。

       想到用代理服务器就可以解决这个问题。Google了一下解决方法,记录下来,分享一下。

       git config:

                 git clone Google的代码失败的解决方法

        设置代理服务器:

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080

       proxyuser:代理服务器用户

       proxypwd:密码

       proxy.server.com:代理服务器地址

       8080:代理服务器端口号

      重设代理,恢复默认:

  

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

    git clone Google的代码失败的解决方法

相关文章:

  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2021-12-01
  • 2021-09-25
  • 2021-06-14
  • 2021-08-23
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
相关资源
相似解决方案