我提交了两个更改,然后发现我需要拉取一些同事所做的更改。当我尝试推送时,出现以下错误:
>>> /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