We are facing a problem of git pull
taking too much time and at last it is just failing. We are using company Gitlab.
When it happened
One of my colleague updated the repo with some huge video and image files. And we try to pull the code may be because that files its taking too long and failing also.
What we tried
All of these have not resolved the problem:
- We removed that files from repo. Added to git ignore.
git filter-branch
.- We've tried removing the large files entirely, using this technique.
- Tried the command
git gc
aftergit filter-branch
.
but for my colleague he able to pull code very fast,
- May be because he already has that files in his local
- Or maybe he is using SSH, we didn't added it.
Error
remote: Counting objects: 1279, done. remote: Compressing objects: 100% (880/880), done. fatal: The remote end hung up unexpectedly MiB | 743.00 KiB/s
fatal: early EOF fatal: index-pack failed
Edited
- The work around we made is, copied the project folder from his system
- Copied to my system as fresh.
- Created fresh ssh key