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

Re: git repo corruption

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 5, 2011, 19:49 UTC
Message-ID
<ig2i0m$uv9$1@dough.gmane.org>
In-Reply-To
<AANLkTikxW-kEhCFKBb-rGPM2xZtk7WyomYnFwz_DYV43@mail.gmail.com>
Levend Sayar wrote:
> git ls-files -m | xargs git checkout --
Why not simply "git checkout -- ." or "git checkout HEAD -- ."?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Levend Sayar
Message 6 of 6 in “git repo corruption”
  1. Levend SayarJan 4, 2011
  2. Drew NorthupJan 4, 2011
  3. Neal KreitzingerJan 4, 2011
  4. Neal KreitzingerJan 5, 2011
  5. Levend SayarJan 5, 2011
  6. Jakub NarebskiJan 5, 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.