Git配置代理命令

  • 针对Shadowsocks的代理配置
    • 设置代理

 

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

git config --global https.proxy 'socks5://127.0.0.1:1080' 

    • 删除代理

git config --global --unset http.proxy

git config --global --unset https.proxy

 

posted @ 2018-07-26 09:53  AI柚子  阅读(247)  评论(0编辑  收藏  举报