我曾经可以从我的个人仓库克隆,但现在我似乎遇到了一个错误。
user:dev.site.com mikesilvis$ git clone { my ssh directory } server@ipaddress's password: remote: Counting objects: 3622, done. remote: Compressing objects: 100% (2718/2718), done. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed
这似乎是正在工作,但是我推送文件到存储库。
错误消息
git-pack-objects died with error
表明遥控器有问题。 你可以ssh进入远程并运行git fsck ? 如果发现任何错误,你可能有一个错误的CPU,内存或存储设备(相信我或没有,但GIT真的很擅长find那些)。 另一件要检查的是确保本地系统和远程系统都没有用完存储空间。
你有没有检查你的shell初始化是否在非交互模式下不产生任何输出。 这是一个典型的原因,例如SCP不起作用(你可以检查它是否)。