git push hangs after Total line

2019-01-23 10:18发布

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?

标签: git bitbucket
11条回答
手持菜刀,她持情操
2楼-- · 2019-01-23 10:46

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.

查看更多
疯言疯语
3楼-- · 2019-01-23 10:48

In my case it was caused by a problem with msysgit 1.9.5. Downgrading to msysgit 1.9.4 solved the problem.

查看更多
Animai°情兽
4楼-- · 2019-01-23 10:50

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 to git-for-windows 2.6.2.

查看更多
仙女界的扛把子
5楼-- · 2019-01-23 10:58

It only worked for me in the case when I did git push -u origin master, when I just simply used git push for bit bucket, it did not push through.

查看更多
男人必须洒脱
6楼-- · 2019-01-23 11:02

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.

查看更多
登录 后发表回答