rebuild repo from data, packfiles?

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

 



Long story short, I lost some metadata in a repo I've got.  However,
my entire .git/objects/ && subdirs is intact, so I'm hopeful my data's
still accessible in some form.

I'm trying to piece together the git metadata that goes in .git (no
subdirs) based on what I've got in other repos && what fails when I
strace git, in hopes I can rebuild my reflog to grab all the work
I only had locally.  Currently I can't `log' or `reflog' or really
anything, because git thinks this directory isn't a git repo.

I'm curious if there's ideas out there for rebuilding my repo based on
the repo's data.  Is there a command I could point at .git/objects and
have it repopulate the repo?

Thanks,

-tom
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]