使用 git clone
非常慢,通常在 12KiB,开启代理后提速明显~
1 | 查看全局配置 |
注意:在 macOS
~
目录下有一个.gitconfig
会保存我们的全局配置,全局取消失败可以手动删除command + shift + .
显示/关闭隐藏目录或文件1
2
3
4
5
6
7[user]
email =
name =
[https "https://github.com"]
proxy = socks5://127.0.0.1:1080
[http "https://github.com"]
proxy = socks5://127.0.0.1:1080