git版本2.26.2
git clone https://my.company.com/bitbucket/scm/common/common-vm-resources.git
在带有/不带子模块的存储库上运行git clone
时,我会得到以下错误。使用-v
选项进行详细说明,没有帮助。
BUG: remote-curl.c:1342:整个rpc->buf应该大于LARGE_PACKET_MAX
Cloning into 'common-vm-resources'...
BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX
fatal: expected flush after ref listing
发布于 2021-12-22 18:11:14
设置以下内容解决了问题。这个问题之所以出现,是因为这个属性(http.postBuffer)被设置为一个非常低的值,即GIT期望成功工作的较低的数量/值。
-运行以下命令:
git config --global http.postBuffer 524288000
https://stackoverflow.com/questions/70385417
复制相似问题