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

Re: Objects deleted before first commit

From
David Barr <davidbarr@google.com>
Date
Jun 14, 2011, 13:06 UTC
Message-ID
<BANLkTik1jTq6otRvHwbo342oH7Dwy+vs_w@mail.gmail.com>
In-Reply-To
<8269100C7056D24A91B672AF7E5E48492D95BB@exchange.GottexBrokers.local>

On Tue, Jun 14, 2011 at 11:00 PM, Edmondo Porcu <Edmondo.Porcu@gottexbrokers.com> wrote:

> In fact I have some folders and files there, but I have no idea on how to restore them into "Real Files". I am using windows 7 unluckily, but I have managed to find the files. This is an extract of my git fsck:
>
> dangling blob 43cb00bb9f23b73afc874c4105b136f8c426e4a5
> dangling blob 48ef642adb1549ee1d4040ec9337d3a47c19d422
[...]

Was it 'rm -rf' or 'git rm -rf'? If just the non-git command, maybe 'git checkout -- <missing paths>'?

-- David Barr.

Previous: Edmondo PorcuNext: PJ Weisberg
Message 4 of 10 in “Objects deleted before first commit”
  1. Edmondo PorcuJun 14, 2011
  2. David BarrJun 14, 2011
  3. Edmondo PorcuJun 14, 2011
  4. David BarrJun 14, 2011
  5. PJ WeisbergJun 14, 2011
  6. Edmondo PorcuJun 14, 2011
  7. Carlos Martín NietoJun 14, 2011
  8. PJ WeisbergJun 14, 2011
  9. Edmondo PorcuJun 14, 2011
  10. Tomas CarneckyJun 16, 2011

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.