Taggit

git 设置使用 socks5 或 http/https 代理的方法

g

写在前面 我们在使用 git 克隆一些外网的代码仓库时,因为众所周知的原因,难免会遇到无法访问的情况。 若是你拥有代理服务器的话,就可以通过为 git 设置使用代理的方法解决这个问题。 设置 HTTP/HTTPS 代理 git config --global --add http.proxy localhost:8118 git config --global --add http.sslVerify false git config --global --add https.proxy localhost:8118 git config --global --add https...

标签

归档

其他操作