简体   繁体   中英

git push origin hangs after the total message

After executing git push origin master on github, the push hangs and nothing happens. I'm using https://username@github.com . At first I had the error first that the http.postbuffer is too small and i changed it to http.postbuffer=209715200 . Now it hangs after the Total line:

Counting objects: 203, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (197/197), done.
Writing objects: 100% (201/201), 49.41 MiB | 11.07 MiB/s, done.
Total 201 (delta 37), reused 0 (delta 0)

EDIT: There are no proxies involved

You may have to wait for it to finish. There is no progress bar so it looks like it's stopped but it hasn't.

In my case, it was a permission issue on the remote repository. Once I "chowned" the remote repo directory, the push finished.

I have had a similar problem as you before.

Have a look at my resolved stackoverflow question in case it may help: sending a large file with SCP to a certain server stalls at exactly 2112 kB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM