1. Failed to connect to github.com port 443: Connection timed out
或者 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
错误原因:代理问题,确保没有设置vpn代理
git config --global --unset http.proxy
git config --global --unset https.proxy
2. 报错:
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/*.git/'
错误原因:git config使用了密码登录,或者令牌过期
https://github.com/settings/tokens中申请新的令牌,并在.git/config中设置为新的token
最后:
发现还是不行,换成ssh登录了