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

Re: Recover broken git repository?

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Jul 14, 2009, 14:54 UTC
Message-ID
<20090714145432.GA12928@vidovic>
In-Reply-To
<1247577632053-3255106.post@n2.nabble.com>
The 14/07/09, Florian Breitwieser wrote:
> I have problems with my git repository, attached below are the steps I tried
> to resolve it. But now I am stuck. Is there any good way to recover?

You could git-format-patch your topics, clone a new repo and git-am the patches.

-- 
Nicolas Sebrecht
Previous: Alex RiesenNext: Jakub Narebski
Message 3 of 9 in “Recover broken git repository?”
  1. Florian BreitwieserJul 14, 2009
  2. Alex RiesenJul 14, 2009
  3. Nicolas SebrechtJul 14, 2009
  4. Jakub NarebskiJul 14, 2009
  5. Linus TorvaldsJul 14, 2009
  6. Stefan-W. HahnJul 14, 2009
  7. Stefan-W. HahnJul 14, 2009
  8. Improve on the 'invalid object' error message at commit timeLinus Torvalds, Jul 14, 2009
  9. Junio C HamanoJul 14, 2009

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.