Thread (6 messages) flat view 6 messages, 3 authors, 2021-02-01

Re: Recover a git repo after accidentally deleting some hash files located under .git/objects.

From: 胡哲宁 <hidden>
Date: 2021-02-01 10:02:02

Michal Suchánek [off-list ref] 于2021年2月1日周一 下午5:51写道:
On Mon, Feb 01, 2021 at 01:56:55PM +0800, 胡哲宁 wrote:
quoted
Hi,I don't think so unless you have the commit
 in github or gitlab which include this file,
maybe you can use git pull to get it.
How?

fetch/pull complains that the hashes are missing.

In this situation I just delete the repository but it is kind of stupid
that git rells you exactly what is wrong but won't fix it.
Is it so? I thought it would work normally, and I hope git can fix it one day.
Thanks.

ZheNing Hu
Thanks

Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help