Large repository does not allow git clone

0

I can have a server with git (home made) private repositories. I'm having trouble with one of the repositories. It turns out that this repo has already reached the 15GB mark on the server. When I try to make a git clone of it I get the message:

error: pack-objects died of signal 9828/1835
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repostiory corruption on the remote side.
remote: aborting due to possible repository corruption on the remote site.
fatal: early EOF
fatal: index-pack failed

It turns out, as I understand it, that this message is generic, as it used to have repositories on a raspberry pi. It caused memory problems. Ok, I switched to an ATOM server with 1 GB of RAM running ubuntu server. In the first commit it went well, however the repo started to increase and again this error message.

I tried the following:

Copy the repo files on one of the client computers, and start a new repo. It turns out that before doing " git add . " and " git commit " the folder was about 8GB. After these two commands the folder was 15Gb. Okay, I realize it's because the hidden files that git creates itself in the repo folder for management to be done.

The issue is that even after doing the " first commit " in this new repo I tried to do " git push origin master " and stopped at 39%. After 2 hours I canceled the process.

So we have two problems:

  • The repo that is on the server can no longer do git clone of dude
  • Tried to create a new repo, with the old files (without the hidden), thus losing all the commit of the first repo, not I can push the server;
  • Note: In the original repo, on the client side, I can do git push origin master, they take a while but pass! Turns out I only have the repo on a client! Being that the rest does not have access to the repo because it is not possible to make the git clone of it.

    I've been searching, and I've discovered this topic ( Handling large files with GIT ) that speaks of this tool: link

    At this point I do not know how to solve this problem. Thanks in advance for your help.

        
    asked by anonymous 10.04.2017 / 04:20

    0 answers