报错
fatal: unable to access 'https://github.com/XXXX': gnutls_handshake() failed: The TLS connection was non-properly terminated.
解决方法:
取消代理:
git config --global --unset https.https://github.com.proxy
git config --global --unset http.https://github.com.proxy
若需使用代理:
# http
git config --global http.https://github.com.proxy http://127.0.0.1:7890
git config --global https.https://github.com.proxy https://127.0.0.1:7890
# socket
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'