'Git push freezing at git-receive-pack
So I am trying to use git push on a fairly large repo, but it always seems to get stuck at the end at POST git-receive-pack (71245363 bytes). I have tried this solution but it doesn't seem to have any effect. Thanks in advance...
$ git push origin master --verbose
Pushing to https://github.com/obiwac/AQUA-2.X-x86
Username for 'https://github.com': Obiwac
Password for 'https://[email protected]':
Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (28/28), 67.94 MiB | 7.77 MiB/s, done.
Total 28 (delta 6), reused 1 (delta 0)
POST git-receive-pack (71245363 bytes)
Solution 1:[1]
It is important to inspect the folder/directory first before performing @Inobulles answer. You could wreck your repo if you just git reset --hard HEAD~1. The main problem here is your directory is large and your upload speed might be slow. Just switch to a faster internet or wait it out.
Otherwise, Insepect your directory and git status ensure you are not upload a huge folder in your disk. You can git init in the directory again just to be sure.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | cigien |
