Git/代理
直接使用 [[Clash]] 终端代理命令,然后使用 https 下载
设置代理
1 | git config --global http.proxy socks5://127.0.0.1:7890 |
取消代理
1 | git config --global --unset http.proxy |
通过 .ssh/config
配置
1 | ssh .ssh/config |
直接使用 [[Clash]] 终端代理命令,然后使用 https 下载
设置代理
1 | git config --global http.proxy socks5://127.0.0.1:7890 |
取消代理
1 | git config --global --unset http.proxy |
通过 .ssh/config
配置
1 | ssh .ssh/config |