2021年12月3日星期五

git走代理

 由于总所周知的原因,编译有时候很慢,那么git如何走代理:

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


查看代理:

git config --global --get http.proxy
git config --global --get https.proxy



没有评论:

发表评论

安装 PaddleOCR的方法

  安装飞桨版本:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/develop/install/pip/windows-pip.html 命令:  python -m pip...