我无法将更新代码库推送到gitlab吗?

时间:2019-04-16 11:43:55

标签: git gitlab

Counting objects: 270, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (247/247), done.
fatal: unable to read 9d7e295637fa81db2e3fdde842f07768a899f1c2
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'https://gitlab.com/HenokTes72/React-Appointment.git'
fatal: The remote end hung up unexpectedly

为什么我不能将更新推送到我的gitlab存储库中?

1 个答案:

答案 0 :(得分:1)

Your repository is corrupt and missing objects. When you attempt to push it to the remote server, you're unable to find one or more of the objects and therefore the push stalls and the remote server hangs up on you. Even if you pushed all of the objects you had, the remote side would not accept them, because it lacks all the objects.

You should try to find an alternate copy of your repository, which you can try to do by pulling the remote side into a new clone, if there's data there. You can then follow the steps in this answer to attempt to fix your corrupt repository.

If there's no other source for your data and you can't manage to recreate the missing blobs, then your repository won't be usable.

相关问题