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

Re: [RFC] git reset --recover

From
Jay Soffian <jaysoffian@gmail.com>
Date
Mar 4, 2008, 07:42 UTC
Message-ID
<76718490803032342k18f05d4dte76aacd9292a1233@mail.gmail.com>
In-Reply-To
<46dff0320803032121v54612b40ke953348e86daf1f@mail.gmail.com>
On Tue, Mar 4, 2008 at 12:21 AM, Ping Yin <pkufranky@gmail.com> wrote:
Show 6 quoted lines
> On Tue, Mar 4, 2008 at 1:02 AM, Charles Bailey <charles@hashpling.org> wrote:
>  >
>  >  Does 'git fsck' report some dangling blobs?  If so (some of) them
>  >  should be the content of your missing files.
>  >
>  Good news. So can "--recover" help me find the lost blobs?

git fsck --lost-found. Look under .git/lost-found/other for your blobs. Anything that's not 41 bytes is a file.

j.
Previous: Ping YinNext: Ping Yin
Message 6 of 7 in “[RFC] git reset --recover”
  1. Ping YinMar 3, 2008
  2. Santi BéjarMar 3, 2008
  3. Ping YinMar 3, 2008
  4. Charles BaileyMar 3, 2008
  5. Ping YinMar 4, 2008
  6. Jay SoffianMar 4, 2008
  7. Ping YinMar 4, 2008

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.