Git使用vpn代理加速pull
- 开了 VPN 之后使用 Git 连接 github 的 clone pull push 命令依旧很慢,是由于 git 默认不使用代理导致,配置 git 代理后可提升速度。
1. 配置Git代理
- 打开Git bash窗口输入以下命令
1 | windows系统 |
2. 查询Git代理
1 | git config --global --list |
3. 取消Git代理
1 | git config --global --unset http.proxy |
评论
新年快到啦,跟大家同步个消息:站长不幸被裁员,博客先暂时停更咯~等年后找到新工作就回来更新,哈哈!提前祝各位新年快乐,身体棒棒,万事顺意,年后见!
- 开了 VPN 之后使用 Git 连接 github 的 clone pull push 命令依旧很慢,是由于 git 默认不使用代理导致,配置 git 代理后可提升速度。
1 | windows系统 |
1 | git config --global --list |
1 | git config --global --unset http.proxy |