1、目的:配置proxy,使得git可以克隆github上的代码

 

2、方法:执行下面三条命令,配置下git的代理

git config --global https.proxy https://w00284248:PWD@proxycn2.xxx.com:8080
git config --global http.proxy http://w00284248:PWD@proxycn2.xxx.com:8080
git config --global http.sslVerify false

3、注意事项:

如果你的密码含有特殊字符(如@),需要转义下,具体方法可以参照:

比如你的密码是  1@23,则只需要在chrome浏览器的控制台里执行:

encodeURIComponent(1@23)

相关文章:

  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-04-13
  • 2021-11-27
  • 2021-12-23
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2021-07-24
  • 2022-03-07
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案