更新时间:2023-01-15 21:00:11
这可能会发生
http.postBuffer
的大小非常小.您可以使用 git config --global http.postBuffer
更改大小.这是将数据发布到远程系统时智能 HTTP 传输使用的缓冲区的最大大小(以字节为单位).http.postBuffer
size is very less. You can change the size using git config --global http.postBuffer <size>
. This is the Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system.这也可能有帮助,看看它:远程端在 git 克隆时意外挂断
This might also help, have a look at it: The remote end hung up unexpectedly while git cloning