题
你好,我有以下错误的混帐的,这不可能是清洁的混帐gc甚至在--积极的模式。我能做些什么,下一步要解决这个储存库中的错误?
$ git-fsck
bad sha1 file: .git/objects/55/tmp_obj_a07724
解决方案
这不是一个简单的答案,可悲的。但是,这可能会有所帮助:
恢复从储存库中的腐败 (自从初的用户手册)。
其他提示
嗯... tmp_obj_a07724
可疑看起来像一个临时剩
文件:)
会发生什么,如果你只是把它移离开的 .git
目录
(后备份整个事情的)?
从 man git-fsck
:
Any corrupt objects you will have to find in backups or other archives
(i.e., you can just remove them and do an rsync with some other site in
the hopes that somebody else has the object you have corrupted).
不隶属于 StackOverflow