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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Suchánek <msuchanek@xxxxxxx> 于2021年2月1日周一 下午5:51写道:
>
> On Mon, Feb 01, 2021 at 01:56:55PM +0800, 胡哲宁 wrote:
> > 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux