有时使用git进行push时,出现下列错误:
error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
此时执行下列代码即可解决。
git config --global http.sslVerify "false"