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

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

From
Sam Ravnborg <sam@ravnborg.org>
Date
Jul 5, 2006, 17:14 UTC
Message-ID
<20060705171406.GA17834@mars.ravnborg.org>
In-Reply-To
<81b0412b0607051005s59315296tfb68345959a14c1b@mail.gmail.com>
On Wed, Jul 05, 2006 at 07:05:27PM +0200, Alex Riesen wrote:
Show 5 quoted lines
> 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.

	Sam
Previous: Alex RiesenNext: Alex Riesen
Message 3 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.