How to solve git error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400

Lyner Lim - Nov 6 - - Dev Community

In my case, this error occurred because I attempted to push a file size of 30MB. We resolved this issue by increasing Git’s HTTP buffer size to accommodate larger pushes. Say we set the size to 150mb, using the following command:

git config --global http.postBuffer 150000000

git config --global --get http.postBuffer
Enter fullscreen mode Exit fullscreen mode

After entering these two lines, our push should work successfully.

. . .
Terabox Video Player