GitHub Stuck Problem Solution

GitHub

GitHub Push Origin Stuck Problem Solution

Hello everyone, sometimes when using GitHub Desktop, the large files we want to send can get stuck and when we try via the terminal, we encounter a message like "Receiving objects: 13% (1309/10065), 796.00 KiB | 6 KiB/s fatal: The remote end hung up unexpectedly". In such cases, even if we wait for hours or even days, our project may not be sent to GitHub.

This can happen especially with large files such as 3D models, 4K textures, or SDKs that we add in game design, and it can waste our time for nothing, sometimes even driving us crazy.


GitHub Stuck Problem

When I researched this problem in many places, I didn’t actually come across many suggestions and I somehow managed to send my files by forcing them with methods like repeatedly closing and opening GitHub, but I learned that there’s no need to struggle so much and that it can be solved with a few lines of commands added to the project via the terminal.

If you also encounter an issue like this, you can increase the Buffer size by typing the commands below in the terminal on GitHub and solve this problem.

Solution

If your internet speed is slow, you can use the command below. If this command doesn’t work, enter the command below it in the terminal.

git config --global http.postBuffer 524288000

If your internet speed is a bit higher than normal, you can solve the problem with the command below.

git config --global http.postBuffer 1048576000

  

If you use these commands, your stuck issue will be solved. After entering these commands, you need to cancel sending the project, close and restart GitHub Desktop or CMD.