设置代理 http/https协议(clone https://前缀的repo会走ss)
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
Code language: PHP (php)
删除
git config --global --unset http.proxy
git config --global --unset https.proxy
Code language: PHP (php)
了解 Starx's Home 的更多信息
Subscribe to get the latest posts sent to your email.
0 条评论