How to replace corrupt Git objects with new ones created from my files, which are fine -


My app, in my file system, works just fine. Pass all the tests.

I am a single developer using Git mostly for backups as well as to use Heroku.

Git has stopped working because of corrupt objects.

I have the errors that appear like this:

  Steven-Raison-iMac-200: drominay Steven $ git push haaroku master error: Increasing: data stream error ( Invalid distance too far back) Fatal: The object 990ad2766afa2e2002eea265225ad160e73eacd2 is corrupted error: the packed items died with odd error  

(and many other errors, citing all the corrupting objects)

How do I Replace the guit with corrupted objects and replace them with the new objects created from the working copy of your app?

Git init did not resolve the problem.

Thank you!

You need to use Git-FSC . The manual is, but the essence is that Git-FSC will then be able to make sure that the store is internally compatible and will list the missing items Git hash-object W & LT; Right-file & gt; To put the file in the repository is given to the hash object, the file was actually corrupted, so its reserves are now complete again :)

Updated to add Gaya:. One does the same thing, but completely its:.)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -