Git – The remote end hung up unexpectedly

Veröffentlicht von

Recently I tried to push a bigger repository to Github. At some stage of the upload process failed:

fatal: The remote end hung up unexpectedly
Everything up-to-date

Some research on the internet indicated that the https buffer was not big enough. The simplest fix to that was to increase the buffer size:

git config http.postBuffer 524288000

That worked fairly well, however the upload was more like a black box thing now. The commit was compressed locally and there was no real upload progress information anymore.

One other solution is to switch from https to SSH by the following command:

git remote add origin

In order to get SSH working you will have to create SSH Keys first, which is described here.

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert