Github 推送错误:RPC 失败;结果=22,HTTP 代码 = 413

Github 推送错误:RPC 失败;结果=22,HTTP 代码 = 413

问题描述:

Github 的愚蠢问题正在发生.我有相当多的更改(大小约为 120MB),当我尝试推送时,会发生以下情况:

stupid issue with Github going on right now. I have a decent amount of changes (~120MB in size), when I attempt to push, this is what happens:

error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly 
fatal: The remote end hung up unexpectedly

我已经完成了

git config http.postBuffer 524288000,所以这似乎不是问题.会是什么呢?

git config http.postBuffer 524288000, so that doesn't seem to be the issue. What could it be?

我想通了!!!我当然会在我点击帖子后立即!

I figured it out!!! Of course I would right after I hit post!

我将 repo 设置为使用 HTTPS url,我将其更改为 SSH 地址,一切都恢复正常工作.

I had the repo set to use the HTTPS url, I changed it to the SSH address, and everything resumed working flawlessly.