문제

Since a few days, one of my GitHub repository seems to be corrupted.
When trying to clone the repository with the following command line :

git clone git@github.com:MyAccount/MyRepository.git

I get the following output :

Cloning into 'MyRepository'...
remote: fatal: failed to apply delta
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

Moreover, when some people of my team can still pull the repository, while some people can't getting this error:

git pull
remote: fatal: failed to apply delta
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header

Does anyone know what could have happened and/or how to fix this ?

도움이 되었습니까?

해결책

GitHub is currently facing issues with ssh access (see GitHub status history)

We are currently investigating SSH access problems on one of our fileserver pairs. A small number of repositories may be affected.

So first check if the cloning problem persists with an https url:

git clone  https://github.com/MyAccount/MyRepository

If the problem persists, then you need to contact GitHub support, asking them for a git fsck, as in this question.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top