Re: How to recovery a corrupted git repo
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 21, 2011, 09:27 UTC
- Message-ID
- <AANLkTimt1oR7nrhXmHugGooOAc3KTiDE6kQ3vGTznS9+@mail.gmail.com>
- In-Reply-To
- <AANLkTi=W3RckA=e-YwDJzELaEOAa+7P74V-G0G=bQhex@mail.gmail.com>
On Mon, Feb 21, 2011 at 8:50 AM, Ping Yin <pkufranky@gmail.com> wrote:
Show 10 quoted lines
> I have a corrupted git repo, with "git fsck", it shows > > missing blob b71eb55f2dbc97dafd4a769fc61f346e69a5e0af > missing blob 282035f3ae964e1e288f352c370be8edd11d3078 > missing tree 3c20f556eecc476e3542cc522d46a62a4461fec6 > missing blob f321b578edeb452358497e832815d6cae6b36886 > missing commit 6d23f5084c975be637f7d748db82116bf84d3872 > > And i also have a good backup repo. How can i recover the corrupted > repo with the backup repo?
Please, have a look this FAQ entry:
https://git.wiki.kernel.org/index.php/GitFaq#How_to_fix_a_broken_repository.3F
And tell us what you did according to it.
Thanks, Christian.