- git push后一直卡在Writing objects:
 解决:设置
git config --global http.postBuffer 5242880000
在执行git push。
 一般设置后就可以成功了,后面不用看。
 2. 我这里结果又报错:
 fatal: protocol error: bad line length 8192 MiB | 107.46 MiB/s
 send-pack: unexpected disconnect while reading sideband packet
 
- 然后又把上面的值设置的更大了些,后面多加了两个0,报错变成fatal: Out of memory, malloc failed (tried to allocate 889192448 bytes)
 然后把值设置为了一个中间的数值。虽然等了很久最终还是成功了。