git 使用常见错误
2021-01-20 本文已影响0人
水之心
git push protocol
![](https://img.haomeiwen.com/i1114626/d33ef827127d6fe8.png)
需要修改您的 remote 地址为 git@...
(即 SSH),而不要使用 https://...
(即 HTTPS)。
如果报报"error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054"
$ git config http.sslVerify "false"
如果再报 "git config http.sslVerify "false" fatal: not in a git directory",请执行:
$ git config --global http.sslVerify "false"