bug_x

导航

 
//127.0.0.1指的是本地,1080指的是代理工具设置的端口
git config --global http.proxy socks5://127.0.0.1:1080

  

1、git 代理设置

      https://www.jianshu.com/p/77f773f492c6

      


//127.0.0.1指的是本地,1080指的是代理工具设置的端口
git config --global http.proxy socks5://127.0.0.1:1080
git config --global -e
git config --global --unset http.proxy

2、

 

composer config -g repo.packagist composer https://packagist.phpcomposer.com

eg:
https://developer.aliyun.com/composer

  

posted on 2020-08-05 11:19  bug_x  阅读(208)  评论(0编辑  收藏  举报