Git hangs while writing objects

后端 未结 9 2003
执念已碎
执念已碎 2020-12-12 13:21

I\'m trying to git push -u origin master And it just hangs at

Writing objects:  99% (219/220), 12.65 MiB | 97 KiB/s

The

9条回答
  •  暖寄归人
    2020-12-12 13:47

    I followed VonC's advice:

    git config --global http.postBuffer 524288000
    

    For future references, based on comments:

    500 MB: 524288000 (as posted in the original answer)
    1 GB: 1048576000
    2 GB: 2097152000 (anything higher is rejected as 'out of range')
    

提交回复
热议问题