作者:花琦1979 | 来源:互联网 | 2023-05-26 12:40
我无法使用plain克隆远程存储库
git clone path
我收到了错误"The remote end hung up unexpectedly"
.我得到的完整信息是:
Cloning into 'xyzabc'...
remote: Counting objects: 4328, done.
remote: Compressing objects: 100% (3861/3861), done.
select: Not enough memory2192/4328), 123.71 MiB | 164.00 KiB/s
ffatal: The remote end hung up unexpectedly
atal: early EOF
fatal: index-pack failed
我在网上寻找一个解决方案,在尝试了所有其他解决方案后,我们做了以下解决方案:
git clone --depth=1 path
其次是
git fetch --unshallow
现在克隆完全完成了.但是,当我尝试运行git fetch --unshallow来接收整个项目时,我收到错误:
fatal: --unshallow on a complete repository does not make sense
我不知道该怎么办请指导
1> Senthil A Ku..:
我也发现了同样的信息.看起来它不允许unhallow浅层克隆.你可能想尝试一下.
git fetch --depth=10000
假设您的克隆中有10000个深度.