git push エラー Git RPC failed; HTTP 501 curl 22 requested URL returned error: 501 Not Implemented

Git RPC failed; HTTP 501 curl 22 requested URL returned error: 501 Not Implemented

git push したらこんなエラーがでた

Counting objects: 8, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
efatal: The remote end hung up unexpectedly
rror: RPC failed; HTTP 501 curl 22 The requested URL returned error: 501 Not Imp
lemented
Writing objects: 100% (8/8), 3.11 MiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

解決方法

以下、ように.gitconfigに書き込んだら解決しました。

.
.
.
[http]
        postBuffer = 500M

git config http.postBuffer 524288000
上記コマンドを打ってもでも解決できるようです。

参考サイト

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.