My git push is hanging after appearing to complete the push. I am going git push
Counting objects: 51, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (47/47), done.
Writing objects: 100% (47/47), 27.64 MiB | 6.47 MiB/s, done.
Total 47 (delta 4), reused 0 (delta 0)
It hangs here and I have to control-c to get back to command line. I have made several commits in the past with this project with now issues. I have tried other repos on my machine and they work fine. What is going on here?
This turned out to be no problem at all. I simply had to wait until the upload was complete. I had added several large files and there is not a progress indicator. Maybe someone else will find this helpful.
In my case it was caused by a problem with
msysgit 1.9.5
. Downgrading tomsysgit 1.9.4
solved the problem.Waiting until the upload finished doesn't work for me. I pushed not very big file, but waited long enough, still hanged.
What helped for me is updating from
msysgit 1.9.5
togit-for-windows 2.6.2
.It only worked for me in the case when I did
git push -u origin master
, when I just simply usedgit push
for bit bucket, it did not push through.Just wanted to add this in case it helps anyone. I had the same problem, and the issue was that the git user didn't have permission to write to the files, only to read from them.