1

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.

ahmedm
  • 41
  • 4

2 Answers2

0

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

Thomasina
  • 1
  • 2
0

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
vegan_meat
  • 878
  • 4
  • 10