本来一直都很正常的,谁知今天下午一直pull不下来,自然也无法push
error: Unknown SSL protocol error in connection to github.com:443 while accessing https://github.com/typecho/.git/info/refs fatal: HTTP request failed
本地用autossh进行了socket5代理,在pac文件中加入了github地址,但还是无法pull/push,浏览器可以正常访问,求拯救!
tsocks
, 配置好socks5代理后使用tsocks command
, 我用到现在就npm
出过问题
git并不直接支持socks5代理。解决办法有两个:
1. 将socks5代理转换为http代理:privoxy,或者delegate(@http://delegate.org/)
2. 使用 GIT_PROXY_COMMAND
SmartHosts支持Github