众所周知 Git 贼慢 于是乎就需要代理。 假设你的代理本地端口是 8080 那么在终端运行以下命令即可设置代理: git config --global https.proxy http://127.0.0.1:8080 git config --global https.proxy https://127.0.0.1:8080 git config --global http.proxy 'socks5://127.0.0.1:8080' git config --global https.proxy 'socks5://127.0.0.1:8080' BashCopy 设置完就行了。 取消的话: git config --global --unset http.proxy git config --global --unset https.proxy BashCopy 分类: 文章 XZYQvQ 炒鸡辣鸡的制杖蒟蒻一枚QvQ 0 条评论 发表回复 取消回复您的邮箱地址不会被公开。 必填项已用 * 标注 名称 * 电子邮件 * 网站 在想些什么? Δ
0 条评论