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

Re: git reset --hard include/linux/config.h

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 5, 2006, 17:29 UTC
Message-ID
<81b0412b0607051029q175928faq113b81de8c11db30@mail.gmail.com>
In-Reply-To
<20060705171406.GA17834@mars.ravnborg.org>
On 7/5/06, Sam Ravnborg <sam@ravnborg.org> wrote:
Show 12 quoted lines
> On Wed, Jul 05, 2006 at 07:05:27PM +0200, Alex Riesen wrote:
> > On 7/5/06, Sam Ravnborg <sam@ravnborg.org> wrote:
> > >Also what is the right command to bring back a file to the original
> > >state after doing some modifications that was not needed anyway?
> >
> > git checkout HEAD include/linux/config.h
>
> Thanks!
>
> By the way - the modifications to include/linux/config.h was not lost.
> But git apperantly managed to be fooled to think the file was
> up-to-date.
After that checkout or after reset --hard? Both is quiet unusual, though
Previous: Sam RavnborgNext: Junio C Hamano
Message 4 of 5 in “git reset --hard include/linux/config.h”
  1. Sam RavnborgJul 5, 2006
  2. Alex RiesenJul 5, 2006
  3. Sam RavnborgJul 5, 2006
  4. Alex RiesenJul 5, 2006
  5. Junio C HamanoJul 6, 2006

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.