Home > front end >  Error when Trying to push local repository to github
Error when Trying to push local repository to github

Time:11-10

Hi guys I am new to git/ github I tried to push my repo to github but keeps giving me this error although i followed all instruction to push it to my github. The error is :

$ git push --all origin
Enumerating objects: 979, done.
Counting objects: 100% (979/979), done.
Delta compression using up to 8 threads
Compressing objects: 100% (939/939), done.
Werror: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (979/979), 3.34 GiB | 2.72 MiB/s, done.
Total 979 (delta 169), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

can somebody with git knowledge help a beginner in git please.

CodePudding user response:

A reason for this could be that there is a bad HTTPS connection from you to GitHub, you could use SSH to connect.

CodePudding user response:

The problem is due to git/https buffer settings. You can fix this by increasing your git configuration for postBuffer from default 1MB to 500MB.

git config http.postBuffer 524288000
  • Related