出于某种原因,几个月前发生的合并突然出现提交错误?使用 Gitolite 推送到中央服务器,并在本地进行 git flow 扩展。错误是:
git推送:
fatal: failed to read object 02a261fad3eae408b04d1941334875d73ddd3f57: Permission denied
error: unpack failed: unpack-objects abnormal exit
而且我在本地或服务器上找不到该对象
git拉:
error: unable to find 379d1971a1037a97919ce37342ee7a60fc611946
error: unable to find 6e41daf37591c88c8dc18f2ecc8761e7d44a0cd9
error: unable to find 0995f5098e0a96f642c6730231d997dd6e074697
好的,试试新的 git clone 怎么样:
error: unable to find 379d1971a1037a97919ce37342ee7a60fc611946
error: unable to find 6e41daf37591c88c8dc18f2ecc8761e7d44a0cd9
error: unable to find 0995f5098e0a96f642c6730231d997dd6e074697
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: fatal: failed to read object 6e41daf37591c88c8dc18f2ecc8761e7d44a0cd9: Permission denied
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
知道可能会发生什么导致这些错误出现吗?或者更重要的是如何撤消它们?
编辑:同样在提交 6e41daf37 之后,我做了一个 'git flow feature start blah' 并提交了现有的更改而不是破坏开发。也许该功能在本地而不是 Gitolite 服务器上存在问题?在任何情况下,我都无法“发布功能”,因为它给出了上面发布的“解压无法读取对象 02a261fad3”错误