【发布时间】:2021-12-28 23:19:54
【问题描述】:
我推送了两个提交更改,结果我不得不拉取同事所做的一些更改。当我尝试推送时,出现此错误:
>>> /usr/bin/git push origin HEAD:refs/heads/main
error: RPC failed; curl 55 Failed sending data to the peer
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
我尝试过但没有成功的解决方案:
git config --global http.postBuffer 524288000
git config --global http.version HTTP/1.1
【问题讨论】: