Why is my git push to HostGator shared hosting failing?

若如初见. 提交于 2019-12-01 12:03:58
VonC

As mentioned in "git repository failed to traverse parent error", this can also be caused by a shallow clone.

In your case though (testing repo), restarting from scratch is the easiest.

In general, you have interesting advices in this thread:

1. Use "git rev-list --objects" to find out what 40aaeb204dc was.

And if that doesn't work:

2. Run "git fsck --full", with packs intact. This will take a while.
The result would include a list of missing objects (like 40aaeb204dc), and, most importantly, their type.

Following howto/recover-corrupted-blob-object.txt would be useful for identifying a corrupt loose object.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!