【发布时间】:2016-11-24 14:48:29
【问题描述】:
我对此很陌生,但我正在尝试推送到我的存储库上的master 分支,而我尝试推送的分支刚刚超过 1GB。源树返回以下错误:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
POST git-receive-pack (chunked)
error: unable to rewind rpc post data - try increasing http.postBuffer
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
Completed with errors, see above.
我做错了什么,这是什么意思?
【问题讨论】:
-
你能显示你在 shell 中输入的内容吗?
-
我自己从未遇到过此错误,但从您推送到 HTTPS 服务器的消息来看。这可能由于以下几个原因之一而失败:1. 您的 HTTP 服务器只接受这么多数据,而您正试图发送更多数据,2. TLS/SSL 加密被破坏。你可以从同一台服务器获取吗?或者克隆一个存储库? HTTP 服务器是否正常工作?如果一切正常,您能否提供更多有关您的环境的信息?服务器/客户端操作系统、Git 版本、Web 服务器版本……