1

i try made a clone of the repository and this stop at 99% of compression objets and i think maybe the solution can the compresion of the repository and ran : git gc --aggressive and the command stop in 98%.the largest file of my repository have over 200 MB. How i can repair the repository?

davidselo
  • 1,326
  • 2
  • 19
  • 34

2 Answers2

1

If your repository is corrupt, you can check what objects have a problem with

git fsck --full

Then you can act accordingly on the problem objects.

Adam Dymitruk
  • 124,556
  • 26
  • 146
  • 141
0

Get rid of large files with

git filter-branch

You will need to specify the proper options on this command. Once you have taken the large file out of your repository, your clone should be fast.

Adam Dymitruk
  • 124,556
  • 26
  • 146
  • 141
  • with this command remove file to control version, but are the file in the repo? this archive is a .sql that i don´t want control version but i want download it in git clone...... – davidselo Jan 16 '12 at 16:57