git clone 出错 fatal: pack has bad object at offset 26060927: inflate returned -3

$ git clone http://xxx.xxx.cn/liyafei/developer.git
Cloning into 'developer'...
remote: Counting objects: 10681, done.
remote: Compressing objects: 100% (4734/4734), done.
error: inflate: data stream error (invalid distance code) KiB/s
fatal: pack has bad object at offset 26060927: inflate returned -3
fatal: index-pack failed

解决方法:$ git clone --depth 1 http://xxx.xxx.cn/liyafei/developer.git

原文地址:https://www.cnblogs.com/Man-Dream-Necessary/p/8677092.html