git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
HZHongyi Zhao <hongyi.zhao@gmail.com>
Date
Feb 1, 2021, 02:14 UTC
Message-ID
<CAGP6POKSOaaq0A-L2RgQ+R+bJVo-KuZChEOcCuO8jP+Cm9QFPw@mail.gmail.com>
Hi,

I accidentally deleted some hash files located under the project's .git/objects subdirectory. In this case, can I resume the project?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
Next: 胡哲宁
Message 1 of 6 in “Recover a git repo after accidentally deleting some hash files located under .git/objects.”
  1. Hongyi ZhaoFeb 1, 2021
  2. 胡哲宁Feb 1, 2021
  3. Hongyi ZhaoFeb 1, 2021
  4. 胡哲宁Feb 1, 2021
  5. Michal SuchánekFeb 1, 2021
  6. 胡哲宁Feb 1, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.