git push 报错解决: fatal: Out of memory, malloc failed (tried to allocate 947912704 bytes)

2023-06-08 16:05:19 阅读:1 编辑

1、查看git 的配置 。猜想是“http.postbuffer”太大。

git config --list --show-origin

2、修改“http.postbuffer”

git config --global  http.postbuffer 1024m