Thursday 16 February 2023

Git fails when pushing commit to github | try increasing http.postBuffer

 Recently I faced issue while pushing more files to GIT, here is solution if you face similar error message which title of this blog represent,

unable to rewind rpc post data - try increasing http.postBuffer

Error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054

send-pack: unexpected disconnect while reading sideband packet


Solution:

Open command prompt and copy paste below line  hit on enter,

git config http.postBuffer 524288000
Above statement will increase http write buffer size, huge number of file you can able to push then.