使用clash来加快访问
在国内想要访问github时比较麻烦,需要走代理,在使用git来push代码的时候可以使用clash的7890端口来走代理,在git中输入以下配置即可
- 
socket5代理1 2 3git config --global http.proxy 'socks5://127.0.0.1:socks5端口号' git config --global https.proxy 'socks5://127.0.0.1:socks5端口号'端口号一般是 7890
- 
http/https代理1 2 3git config --global http.proxy 'http://127.0.0.1:http端口号' git config --global https.proxy 'https://127.0.0.1:https端口号'
在设置完后,可以ping一下github.com来尝试连通状况
|  |  |