简体   繁体   English

git clone失败,“packfile无法访问”

[英]git clone fails with “packfile cannot be accessed”

I'm trying to clone the kernel, but git clone fails with this: 我正在尝试克隆内核,但git clone失败了:

$ git clone https://github.com/torvalds/linux.git
Cloning into 'linux'...
remote: Counting objects: 5394786, done.
remote: Compressing objects: 100% (6010/6010), done.
remote: fatal: packfile ./objects/pack/pack-739267fbbad35d713a4648c227cd63f8a926bd0d.pack cannot be accessed
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

I tried googling it but none of the suggested solutions solved it for me. 我试过谷歌搜索它,但没有一个建议的解决方案为我解决了它。 Any ideas? 有任何想法吗?

I just tried and i got the data on my system. 我刚试过,我得到了我系统上的数据。

Check your .gitconfig , there could be some unnecessary mal-function . 检查你的.gitconfig,可能会有一些不必要的错误功能。 Or simply just reinstall the git , this will fix you problem. 或者只是重新安装git,这将解决您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM