运行`git push`时出现损坏错误

问题描述

| 我试图运行
git push
并出现损坏错误:
% git push
Counting objects: 62,done.
Delta compression using up to 2 threads.
error: corrupt loose object \'f2310668fe335b36c513e50fcd99744e8fd5c2e0\'
fatal: object f2310668fe335b36c513e50fcd99744e8fd5c2e0 is corrupted
error: pack-objects died with strange error
这会一直挂在最后一行,直到我打到
Ctrl+C
。 我读到运行
git gc
可能会有所帮助,所以我这样做了,并且遇到了类似的错误:
% git gc
Counting objects: 493,done.
Delta compression using up to 2 threads.
error: corrupt loose object \'f2310668fe335b36c513e50fcd99744e8fd5c2e0\'
fatal: object f2310668fe335b36c513e50fcd99744e8fd5c2e0 is corrupted
error: failed to run repack
我应该怎么做才能解决这个问题?     

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)