git clone 使用代理

一次性代理

git clone -c http.proxy="http://127.0.0.1:7890" https://github.com/

全局设置代理

git config --global http.https://github.com.proxy socks5://127.0.0.1:7890

posted @ 2024-09-18 17:04  自由散漫  阅读(666)  评论(0)    收藏  举报