Git日志:致命对象[sha1]已损坏 [英] Git log: fatal object [sha1] is corrupted
本文介绍了Git日志:致命对象[sha1]已损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么办法可以用提交历史记录来修复我的存储库.
Is there any way I can repair my repository with commit history in tact.
# git log
fatal: object 01aeb2bf2e93b238f0e0422816b3e55518321ae7 is corrupted
通过阅读下面的链接,看来我将其拉开并重新开始.
From reading the link below it looks like I'll have zap it and start over.
http://www.miek.nl/s/7e76eadefe/
推荐答案
您是否在其他地方有此存储库的克隆?您可能需要阅读此帖子将恢复该损坏的对象.
Do you have clones of this repository elsewhere? You might want to read this post by Linus Torvalds to restore that corrupted object, assuming the corrupted object is a blob (file contents).
这篇关于Git日志:致命对象[sha1]已损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文